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

Unified Diff: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
diff --git a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
index 52b449717951df729ec0779eb0366f7226491beb..2c3a8171c7585b4a4a58d611166a34f6a005fa3c 100644
--- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
+++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
@@ -273,10 +273,10 @@ class CORE_EXPORT CSPDirectiveList
bool denyIfEnforcingPolicy() const { return isReportOnly(); }
- // Tthis function returns a SourceListDirective of a given type
+ // This function returns a SourceListDirective of a given type
// or if it is not defined, the default SourceListDirective for that type.
SourceListDirective* operativeDirective(
- const ContentSecurityPolicy::DirectiveType&);
+ const ContentSecurityPolicy::DirectiveType&) const;
// This function aggregates from a vector of policies all operative
// SourceListDirectives of a given type into a vector.
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698