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

Unified Diff: chrome/browser/ui/webui/chrome_url_data_manager.h

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 | « no previous file | chrome/browser/ui/webui/chrome_url_data_manager_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chrome_url_data_manager.h
===================================================================
--- chrome/browser/ui/webui/chrome_url_data_manager.h (revision 140618)
+++ chrome/browser/ui/webui/chrome_url_data_manager.h (working copy)
@@ -107,6 +107,9 @@
// TODO: nuke this and convert all callers to not replace.
virtual bool ShouldReplaceExistingSource() const;
+ // Returns true if responses from this DataSource can be cached.
+ virtual bool AllowCaching() const { return true; }
+
static void SetFontAndTextDirection(
base::DictionaryValue* localized_strings);
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chrome_url_data_manager_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698