Chromium Code Reviews| 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; |