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

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

Issue 2551843002: Embedding-CSP: Adding `const` to method signatures. (Closed)
Patch Set: Rebasing Created 4 years 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 128d5e9a8b87b653eb1a45f3203595dd379b17f5..fae2b3c927ab582de0369ea975ced8aa53a815e8 100644
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
@@ -360,7 +360,7 @@ class CORE_EXPORT ContentSecurityPolicy
// Note the correct result is guaranteed if this policy contains only one
// CSPDirectiveList. More information here:
// https://w3c.github.io/webappsec-csp/embedded/#subsume-policy
- bool subsumes(const ContentSecurityPolicy&);
+ bool subsumes(const ContentSecurityPolicy&) const;
Document* document() const;

Powered by Google App Engine
This is Rietveld 408576698