OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/ntp_tiles/pref_names.h" | 5 #include "components/ntp_tiles/pref_names.h" |
6 | 6 |
7 namespace ntp_tiles { | 7 namespace ntp_tiles { |
8 namespace prefs { | 8 namespace prefs { |
9 | 9 |
10 // The number of personal tiles we had previously. Used to figure out | 10 // The number of personal tiles we had previously. Used to figure out |
11 // whether we need popular sites. | 11 // whether we need popular sites. |
12 const char kNumPersonalTiles[] = "ntp.num_personal_suggestions"; | 12 const char kNumPersonalTiles[] = "ntp.num_personal_suggestions"; |
13 | 13 |
14 // If set, overrides the URL for popular sites, including the individual | 14 // If set, overrides the URL for popular sites, including the individual |
15 // overrides for country and version below. | 15 // overrides for country and version below. |
16 const char kPopularSitesOverrideURL[] = "popular_sites.override_url"; | 16 const char kPopularSitesOverrideURL[] = "popular_sites.override_url"; |
17 | 17 |
| 18 // If set, this will override the URL path directory for popular sites. |
| 19 const char kPopularSitesOverrideDirectory[] = |
| 20 "popular_sites.override_directory"; |
| 21 |
18 // If set, this will override the country detection for popular sites. | 22 // If set, this will override the country detection for popular sites. |
19 const char kPopularSitesOverrideCountry[] = "popular_sites.override_country"; | 23 const char kPopularSitesOverrideCountry[] = "popular_sites.override_country"; |
20 | 24 |
21 // If set, this will override the default file version for popular sites. | 25 // If set, this will override the default file version for popular sites. |
22 const char kPopularSitesOverrideVersion[] = "popular_sites.override_version"; | 26 const char kPopularSitesOverrideVersion[] = "popular_sites.override_version"; |
23 | 27 |
24 } // namespace prefs | 28 } // namespace prefs |
25 } // namespace ntp_tiles | 29 } // namespace ntp_tiles |
OLD | NEW |