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

Unified Diff: components/precache/core/precache_switches.cc

Issue 27047003: Precache tracking database (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@precache
Patch Set: General fixes, added tests, and moved PrecacheManager into component Created 7 years, 2 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: components/precache/core/precache_switches.cc
diff --git a/components/precache/core/precache_switches.cc b/components/precache/core/precache_switches.cc
index 156546e79a885c0b0920e526a27f6368ad1666cd..a0ea84a9c9c399e268d5dce7d76b3db209c22ae4 100644
--- a/components/precache/core/precache_switches.cc
+++ b/components/precache/core/precache_switches.cc
@@ -7,6 +7,10 @@
namespace precache {
namespace switches {
bengr 2013/10/23 19:03:36 Is this how components manage their own switches?
sclittle 2013/10/24 22:11:38 Yes, see components/autofill/core/common/autofill_
+// Enables the proactive populating of the disk cache with Web resources that
+// are likely to be needed in future page fetches.
+const char kEnablePrecache[] = "enable-precache";
+
// The URL that provides the PrecacheConfigurationSettings proto.
const char kPrecacheConfigSettingsURL[] = "precache-config-settings-url";

Powered by Google App Engine
This is Rietveld 408576698