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

Unified Diff: chrome/browser/ui/webui/session_favicon_source.cc

Issue 10407066: NTP: Prevent tab sync icons from being cached. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 8 years, 7 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/ui/webui/session_favicon_source.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/session_favicon_source.cc
diff --git a/chrome/browser/ui/webui/session_favicon_source.cc b/chrome/browser/ui/webui/session_favicon_source.cc
index 453fd0e0e41eeaf0ff20a59431daa588c5cce893..6d8b5cd99f78adf36d4c591c059fdecc91c4fe29 100644
--- a/chrome/browser/ui/webui/session_favicon_source.cc
+++ b/chrome/browser/ui/webui/session_favicon_source.cc
@@ -49,3 +49,9 @@ bool SessionFaviconSource::ShouldReplaceExistingSource() const {
// requests on the floor.
return false;
}
+
+bool SessionFaviconSource::AllowCaching() const {
+ // Prevent responses from being cached, otherwise session favicons won't
+ // update in a timely manner.
+ return false;
+}
« no previous file with comments | « chrome/browser/ui/webui/session_favicon_source.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698