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

Unified Diff: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h

Issue 2708873002: Stop CSP from matching independent scheme/port upgrades (Closed)
Patch Set: Created 3 years, 10 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
Index: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
diff --git a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
index 7e972cc62c636e6730ba9a671235ea76d5825b09..76b4c764ebebc56bdd559b684841924c9cf79649 100644
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
@@ -335,6 +335,7 @@ class CORE_EXPORT ContentSecurityPolicy
bool urlMatchesSelf(const KURL&) const;
bool protocolMatchesSelf(const KURL&) const;
+ bool protocolIsEqual(const String& protocol) const;
bool selfMatchesInnerURL() const;
bool experimentalFeaturesEnabled() const;

Powered by Google App Engine
This is Rietveld 408576698