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

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

Issue 2528903002: Allow the PDF extension for chrome://print pages. (Closed)
Patch Set: Created 4 years, 1 month 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_ui_data_source.h
diff --git a/content/public/browser/web_ui_data_source.h b/content/public/browser/web_ui_data_source.h
index 5c278c5069feef7d60c6a1d02d061f78350f76c1..d22d6c79c0241ec64028d9ea34c06ac0479ae312 100644
--- a/content/public/browser/web_ui_data_source.h
+++ b/content/public/browser/web_ui_data_source.h
@@ -87,6 +87,8 @@ class WebUIDataSource {
// Currently only used by embedders for WebUIs with multiple instances.
virtual void DisableReplaceExistingSource() = 0;
virtual void DisableContentSecurityPolicy() = 0;
+ virtual void OverrideContentSecurityPolicyScriptSrc(
+ const std::string& data) = 0;
virtual void OverrideContentSecurityPolicyObjectSrc(
const std::string& data) = 0;
virtual void OverrideContentSecurityPolicyChildSrc(
« no previous file with comments | « content/browser/webui/web_ui_data_source_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698