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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/precache/core/precache_switches.h" 5 #include "components/precache/core/precache_switches.h"
6 6
7 namespace precache { 7 namespace precache {
8 namespace switches { 8 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_
9 9
10 // Enables the proactive populating of the disk cache with Web resources that
11 // are likely to be needed in future page fetches.
12 const char kEnablePrecache[] = "enable-precache";
13
10 // The URL that provides the PrecacheConfigurationSettings proto. 14 // The URL that provides the PrecacheConfigurationSettings proto.
11 const char kPrecacheConfigSettingsURL[] = "precache-config-settings-url"; 15 const char kPrecacheConfigSettingsURL[] = "precache-config-settings-url";
12 16
13 // Precache manifests will be served from URLs with this prefix. 17 // Precache manifests will be served from URLs with this prefix.
14 const char kPrecacheManifestURLPrefix[] = "precache-manifest-url-prefix"; 18 const char kPrecacheManifestURLPrefix[] = "precache-manifest-url-prefix";
15 19
16 } // namespace switches 20 } // namespace switches
17 } // namespace precache 21 } // namespace precache
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698