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

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

Issue 2533203002: New Tab Page: chrome-search://local-ntp/ files should not be cachable (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/search/local_ntp_source.cc » ('j') | chrome/browser/search/local_ntp_source.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1456677e79cc7e3454b618e15e827d8663a61896..24d81dc9c55fbdc15eea2a785108e1968c35c295 100644
--- a/chrome/browser/search/local_ntp_source.h
+++ b/chrome/browser/search/local_ntp_source.h
@@ -27,6 +27,7 @@ class LocalNtpSource : public content::URLDataSource {
const content::ResourceRequestInfo::WebContentsGetter& wc_getter,
const content::URLDataSource::GotDataCallback& callback) override;
std::string GetMimeType(const std::string& path) const override;
+ bool AllowCaching() const override;
bool ShouldServiceRequest(const net::URLRequest* request) const override;
std::string GetContentSecurityPolicyChildSrc() const override;
« no previous file with comments | « no previous file | chrome/browser/search/local_ntp_source.cc » ('j') | chrome/browser/search/local_ntp_source.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698