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

Unified Diff: chrome/browser/search/iframe_source.cc

Issue 2634413002: Faster Reload: Specify AllowCaching = false for some URLDataSources that need it (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « chrome/browser/search/iframe_source.h ('k') | chrome/browser/search/thumbnail_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/iframe_source.cc
diff --git a/chrome/browser/search/iframe_source.cc b/chrome/browser/search/iframe_source.cc
index 925c97ed2c84107cfccc2c2ce7f9cf48c03f2730..cae15fe43a0e36a3da2b8ee0bfb305a18d7a711a 100644
--- a/chrome/browser/search/iframe_source.cc
+++ b/chrome/browser/search/iframe_source.cc
@@ -36,6 +36,10 @@ std::string IframeSource::GetMimeType(
return std::string();
}
+bool IframeSource::AllowCaching() const {
+ return false;
+}
+
bool IframeSource::ShouldServiceRequest(
const net::URLRequest* request) const {
const std::string& path = request->url().path();
« no previous file with comments | « chrome/browser/search/iframe_source.h ('k') | chrome/browser/search/thumbnail_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698