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

Unified Diff: chrome/browser/search/local_ntp_source.h

Issue 14685004: Add finch flag for rendering a recently closed link on the local ntp. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 8 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
Index: chrome/browser/search/local_ntp_source.h
diff --git a/chrome/browser/search/local_ntp_source.h b/chrome/browser/search/local_ntp_source.h
index efa20504f196449fcc1fc81e398f98b4ea1f7ef3..03efabf956f91b7cc90722713ea539246f444eeb 100644
--- a/chrome/browser/search/local_ntp_source.h
+++ b/chrome/browser/search/local_ntp_source.h
@@ -28,6 +28,7 @@ class LocalNtpSource : public content::URLDataSource {
virtual std::string GetMimeType(const std::string& path) const OVERRIDE;
virtual bool ShouldServiceRequest(
const net::URLRequest* request) const OVERRIDE;
+ virtual bool ShouldAddContentSecurityPolicy() const OVERRIDE;
virtual std::string GetContentSecurityPolicyFrameSrc() const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(LocalNtpSource);

Powered by Google App Engine
This is Rietveld 408576698