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

Unified Diff: third_party/WebKit/public/web/WebSecurityPolicy.h

Issue 2623353002: Share schemes needed for mixed content checking between the browser and renderer. (Closed)
Patch Set: remove unused public methods Created 3 years, 11 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 | « third_party/WebKit/Source/web/WebSecurityPolicy.cpp ('k') | url/url_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 95de870daf197fdaa89394e99966eddfe2f35d26..52f09a802f71f1bc890995c6e186ee38a021c406 100644
--- a/third_party/WebKit/public/web/WebSecurityPolicy.h
+++ b/third_party/WebKit/public/web/WebSecurityPolicy.h
@@ -42,30 +42,12 @@ class WebURL;
class WebSecurityPolicy {
public:
- // Registers a URL scheme to be treated as a local scheme (i.e., with the
- // same security rules as those applied to "file" URLs). This means that
- // normal pages cannot link to or access URLs of this scheme.
- BLINK_EXPORT static void registerURLSchemeAsLocal(const WebString&);
-
- // Registers a URL scheme to be treated as a noAccess scheme. This means
- // that pages loaded with this URL scheme cannot access pages loaded with
- // any other URL scheme.
- BLINK_EXPORT static void registerURLSchemeAsNoAccess(const WebString&);
-
// Registers a URL scheme to be treated as display-isolated. This means
// that pages cannot display these URLs unless they are from the same
// scheme. For example, pages in other origin cannot create iframes or
// hyperlinks to URLs with the scheme.
BLINK_EXPORT static void registerURLSchemeAsDisplayIsolated(const WebString&);
- // Subresources transported by secure schemes do not trigger mixed content
- // warnings. For example, https and data are secure schemes because they
- // cannot be corrupted by active network attackers.
- BLINK_EXPORT static void registerURLSchemeAsSecure(const WebString&);
-
- // Registers a non-HTTP URL scheme which can be sent CORS requests.
- BLINK_EXPORT static void registerURLSchemeAsCORSEnabled(const WebString&);
-
// Registers a URL scheme that can register a ServiceWorker.
BLINK_EXPORT static void registerURLSchemeAsAllowingServiceWorkers(
const WebString&);
« no previous file with comments | « third_party/WebKit/Source/web/WebSecurityPolicy.cpp ('k') | url/url_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698