Add option to enable fetch support for custom schemes (issue #2579)

This commit is contained in:
Alexander Guettler
2019-02-04 22:31:31 +00:00
committed by Marshall Greenblatt
parent 667d190547
commit a72e00a7b9
16 changed files with 517 additions and 21 deletions

View File

@@ -69,6 +69,9 @@ BLINK_EXPORT bool IsScriptForbidden();
BLINK_EXPORT void RegisterURLSchemeAsLocal(const blink::WebString& scheme);
BLINK_EXPORT void RegisterURLSchemeAsSecure(const blink::WebString& scheme);
BLINK_EXPORT void RegisterURLSchemeAsSupportingFetchAPI(
const blink::WebString& scheme);
// Wrapper for blink::ScriptForbiddenScope.
class BLINK_EXPORT CefScriptForbiddenScope final {
public: