| 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..639839b1a0df3562a63bbd71ed85a0fede9ff60b 100644
|
| --- a/chrome/browser/ui/webui/ntp/new_tab_ui.h
|
| +++ b/chrome/browser/ui/webui/ntp/new_tab_ui.h
|
| @@ -68,7 +68,8 @@ 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 GetContentSecurityPolicyObjectSrc() 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
|
|
|