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

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

Issue 10407066: NTP: Prevent tab sync icons from being cached. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/ui/webui/chrome_url_data_manager.h
diff --git a/chrome/browser/ui/webui/chrome_url_data_manager.h b/chrome/browser/ui/webui/chrome_url_data_manager.h
index 98671bef22023933d97e05a319a515568034c4fd..4c22ea1f13c5ca6aa6a39116d30fd977215569b5 100644
--- a/chrome/browser/ui/webui/chrome_url_data_manager.h
+++ b/chrome/browser/ui/webui/chrome_url_data_manager.h
@@ -107,6 +107,9 @@ class ChromeURLDataManager : public ProfileKeyedService {
// 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);

Powered by Google App Engine
This is Rietveld 408576698