Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1254)

Unified Diff: Source/platform/weborigin/SchemeRegistry.h

Issue 1305253012: Allow 'chrome-extension:' URLs to bypass content settings (1/2) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/platform/weborigin/SchemeRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/weborigin/SchemeRegistry.h
diff --git a/Source/platform/weborigin/SchemeRegistry.h b/Source/platform/weborigin/SchemeRegistry.h
index 3e1edd332be232ad97f390d51c9f61ec8e1a35fa..bfc464e119c5b626ba0b0188c66210c2c921faf7 100644
--- a/Source/platform/weborigin/SchemeRegistry.h
+++ b/Source/platform/weborigin/SchemeRegistry.h
@@ -95,6 +95,10 @@ public:
static void registerURLSchemeAsSupportingFetchAPI(const String& scheme);
static bool shouldTreatURLSchemeAsSupportingFetchAPI(const String& scheme);
+ // Schemes which override the first-/third-party checks on a Document.
+ static void registerURLSchemeAsFirstPartyWhenTopLevel(const String& scheme);
+ static bool shouldTreatURLSchemeAsFirstPartyWhenTopLevel(const String& scheme);
+
// Allow resources from some schemes to load on a page, regardless of its
// Content Security Policy.
// This enum should be kept in sync with public/web/WebSecurityPolicy.h.
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/platform/weborigin/SchemeRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698