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

Unified Diff: content/public/browser/url_data_source.h

Issue 2012393003: Replace frame-src with child-src in WebUI CSP (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@csp
Patch Set: Created 4 years, 7 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 | « content/browser/webui/web_ui_data_source_impl.cc ('k') | content/public/browser/url_data_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/url_data_source.h
diff --git a/content/public/browser/url_data_source.h b/content/public/browser/url_data_source.h
index 5ddd22b421f93d10485209722333386f77c2a348..111cc20cb11b3061b6b4149ef629db76770dd08f 100644
--- a/content/public/browser/url_data_source.h
+++ b/content/public/browser/url_data_source.h
@@ -107,8 +107,8 @@ class CONTENT_EXPORT URLDataSource {
// By default, "object-src 'none';" is added to CSP. Override to change this.
virtual std::string GetContentSecurityPolicyObjectSrc() const;
- // By default, "frame-src 'none';" is added to CSP. Override to change this.
- virtual std::string GetContentSecurityPolicyFrameSrc() const;
+ // By default, "child-src 'none';" is added to CSP. Override to change this.
+ virtual std::string GetContentSecurityPolicyChildSrc() const;
// By default empty. Override to change this.
virtual std::string GetContentSecurityPolicyStyleSrc() const;
// By default empty. Override to change this.
« no previous file with comments | « content/browser/webui/web_ui_data_source_impl.cc ('k') | content/public/browser/url_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698