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

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

Issue 22150004: Add WebUIDataSourceImpl::DisableReplaceExistingSource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move method comment to interface Created 7 years, 4 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') | 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 76d0d7edafbd9561550acca0865b2c6bf534249e..f3692b30a9a9ce6853c18a264e008a41d08cc08b 100644
--- a/content/public/browser/web_ui_data_source.h
+++ b/content/public/browser/web_ui_data_source.h
@@ -78,6 +78,11 @@ class WebUIDataSource {
// NOTE: it's not acceptable to call DisableContentSecurityPolicy for new
// pages, see URLDataSource::ShouldAddContentSecurityPolicy and talk to
// tsepez.
+
+ // Currently only used by embedders for WebUIs with multiple instances, could
+ // have been useful for NTP as well if it wasn't implementing URLDataSource
jam 2013/08/25 07:22:39 nit: please remove everything after the comment. p
+ // itself.
+ virtual void DisableReplaceExistingSource() = 0;
virtual void DisableContentSecurityPolicy() = 0;
virtual void OverrideContentSecurityPolicyObjectSrc(
const std::string& data) = 0;
« 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