| Index: third_party/WebKit/public/web/WebSecurityPolicy.h
|
| diff --git a/third_party/WebKit/public/web/WebSecurityPolicy.h b/third_party/WebKit/public/web/WebSecurityPolicy.h
|
| index 52f09a802f71f1bc890995c6e186ee38a021c406..ef865ba933139082a5e0a4a0839295d4362db067 100644
|
| --- a/third_party/WebKit/public/web/WebSecurityPolicy.h
|
| +++ b/third_party/WebKit/public/web/WebSecurityPolicy.h
|
| @@ -56,32 +56,11 @@ class WebSecurityPolicy {
|
| BLINK_EXPORT static void registerURLSchemeAsSupportingFetchAPI(
|
| const WebString&);
|
|
|
| - // Registers a URL scheme whose resources can be loaded regardless of a page's
|
| - // Content Security Policy.
|
| - BLINK_EXPORT static void registerURLSchemeAsBypassingContentSecurityPolicy(
|
| - const WebString&);
|
| -
|
| // Registers a URL scheme which will always be considered the first-party when
|
| // loaded in a top-level context.
|
| BLINK_EXPORT static void registerURLSchemeAsFirstPartyWhenTopLevel(
|
| const WebString&);
|
|
|
| - // Registers a URL scheme for which some kinds of resources bypass Content
|
| - // Security Policy.
|
| - // This enum should be kept in sync with
|
| - // Source/platform/weborigin/SchemeRegistry.h.
|
| - // Enforced in AssertMatchingEnums.cpp.
|
| - enum PolicyAreas : uint32_t {
|
| - PolicyAreaNone = 0,
|
| - PolicyAreaImage = 1 << 0,
|
| - PolicyAreaStyle = 1 << 1,
|
| - // Add more policy areas as needed by clients.
|
| - PolicyAreaAll = ~static_cast<uint32_t>(0),
|
| - };
|
| - BLINK_EXPORT static void registerURLSchemeAsBypassingContentSecurityPolicy(
|
| - const WebString& scheme,
|
| - PolicyAreas);
|
| -
|
| // Registers a URL scheme as strictly empty documents, allowing them to
|
| // commit synchronously.
|
| BLINK_EXPORT static void registerURLSchemeAsEmptyDocument(const WebString&);
|
|
|