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

Unified Diff: content/browser/webui/web_ui_data_source_impl.h

Issue 22150004: Add WebUIDataSourceImpl::DisableReplaceExistingSource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment improvement, don't mention chrome in content layer 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 | « no previous file | content/browser/webui/web_ui_data_source_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/web_ui_data_source_impl.h
diff --git a/content/browser/webui/web_ui_data_source_impl.h b/content/browser/webui/web_ui_data_source_impl.h
index 0b6f8a355d337f0c1d6303060594f72481bacd78..1f8100469e7cc1267db262e385889e47aafaf335 100644
--- a/content/browser/webui/web_ui_data_source_impl.h
+++ b/content/browser/webui/web_ui_data_source_impl.h
@@ -42,6 +42,7 @@ class CONTENT_EXPORT WebUIDataSourceImpl
virtual void SetDefaultResource(int resource_id) OVERRIDE;
virtual void SetRequestFilter(
const WebUIDataSource::HandleRequestCallback& callback) OVERRIDE;
+ virtual void DisableReplaceExistingSource() OVERRIDE;
virtual void DisableContentSecurityPolicy() OVERRIDE;
virtual void OverrideContentSecurityPolicyObjectSrc(
const std::string& data) OVERRIDE;
@@ -99,6 +100,7 @@ class CONTENT_EXPORT WebUIDataSourceImpl
std::string frame_src_;
bool deny_xframe_options_;
bool disable_set_font_strings_;
+ bool replace_existing_source_;
DISALLOW_COPY_AND_ASSIGN(WebUIDataSourceImpl);
};
« no previous file with comments | « no previous file | content/browser/webui/web_ui_data_source_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698