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

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

Issue 10545016: Merge 138112 - NTP: Prevent tab sync icons from being cached. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1132/src/
Patch Set: Created 8 years, 6 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
===================================================================
--- chrome/browser/ui/webui/session_favicon_source.cc (revision 140618)
+++ chrome/browser/ui/webui/session_favicon_source.cc (working copy)
@@ -49,3 +49,9 @@
// 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