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

Unified Diff: components/dom_distiller/content/browser/dom_distiller_viewer_source.h

Issue 2003963004: Enable CSP on more WebUI pages (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: indentation 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 a4ec2fabdd629bf9410dcaf5f63e1a61c4cf1b04..a4c60f226fc9aa69f641ae2b21987a980d95e3d8 100644
--- a/components/dom_distiller/content/browser/dom_distiller_viewer_source.h
+++ b/components/dom_distiller/content/browser/dom_distiller_viewer_source.h
@@ -41,7 +41,7 @@ class DomDistillerViewerSource : public content::URLDataSource {
bool ShouldServiceRequest(const net::URLRequest* request) const override;
void WillServiceRequest(const net::URLRequest* request,
std::string* path) const override;
- std::string GetContentSecurityPolicyObjectSrc() const override;
+ std::string GetContentSecurityPolicyStyleSrc() const override;
std::string GetContentSecurityPolicyFrameSrc() const override;
private:
« no previous file with comments | « chrome/browser/ui/webui/system_info_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