Chromium Code Reviews| 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..dd642bfd190168ef3b234a0e3367d41bbfea2ee5 100644 |
| --- a/content/browser/webui/web_ui_data_source_impl.h |
| +++ b/content/browser/webui/web_ui_data_source_impl.h |
| @@ -42,6 +42,10 @@ class CONTENT_EXPORT WebUIDataSourceImpl |
| virtual void SetDefaultResource(int resource_id) OVERRIDE; |
| virtual void SetRequestFilter( |
| const WebUIDataSource::HandleRequestCallback& callback) OVERRIDE; |
| + // Currently only used by embedders for WebUIs with multiple instances, could |
|
jam
2013/08/13 21:36:45
nit: method comments go on the interface and not t
|
| + // have been useful for NTP as well if it wasn't implementing |
| + // URLDataSourceImpl itself. |
| + virtual void DisableReplaceExistingSource() OVERRIDE; |
| virtual void DisableContentSecurityPolicy() OVERRIDE; |
| virtual void OverrideContentSecurityPolicyObjectSrc( |
| const std::string& data) OVERRIDE; |
| @@ -99,6 +103,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); |
| }; |