Index: chrome/browser/ui/webui/ntp/new_tab_ui.h |
diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui.h b/chrome/browser/ui/webui/ntp/new_tab_ui.h |
index 9124574be5ecdd2d144ce211f89b4d440f15c84b..79db8c3dbf7dddae0b2e5e506ed43ab9d2f50a54 100644 |
--- a/chrome/browser/ui/webui/ntp/new_tab_ui.h |
+++ b/chrome/browser/ui/webui/ntp/new_tab_ui.h |
@@ -68,7 +68,10 @@ class NewTabUI : public content::WebUIController { |
const content::URLDataSource::GotDataCallback& callback) override; |
std::string GetMimeType(const std::string&) const override; |
bool ShouldReplaceExistingSource() const override; |
- bool ShouldAddContentSecurityPolicy() const override; |
+ std::string GetContentSecurityPolicyScriptSrc() const override; |
+ std::string GetContentSecurityPolicyStyleSrc() const override; |
+ std::string GetContentSecurityPolicyImgSrc() const override; |
+ std::string GetContentSecurityPolicyFrameSrc() const override; |
// Adds |resource| to the source. |resource_id| is resource id or 0, |
// which means return empty data set. |mime_type| is mime type of the |