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

Unified Diff: components/dom_distiller/content/browser/dom_distiller_viewer_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
Index: components/dom_distiller/content/browser/dom_distiller_viewer_source.h
diff --git a/components/dom_distiller/content/browser/dom_distiller_viewer_source.h b/components/dom_distiller/content/browser/dom_distiller_viewer_source.h
index a4c60f226fc9aa69f641ae2b21987a980d95e3d8..782f26cd1dbf4086418ce0ad2e409181ff327886 100644
--- a/components/dom_distiller/content/browser/dom_distiller_viewer_source.h
+++ b/components/dom_distiller/content/browser/dom_distiller_viewer_source.h
@@ -42,7 +42,7 @@ class DomDistillerViewerSource : public content::URLDataSource {
void WillServiceRequest(const net::URLRequest* request,
std::string* path) const override;
std::string GetContentSecurityPolicyStyleSrc() const override;
- std::string GetContentSecurityPolicyFrameSrc() const override;
+ std::string GetContentSecurityPolicyChildSrc() const override;
private:
friend class DomDistillerViewerSourceTest;
« no previous file with comments | « chrome/browser/ui/webui/uber/uber_ui.cc ('k') | components/dom_distiller/content/browser/dom_distiller_viewer_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698