Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 |
| OLD | NEW |