| 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 for popular sites. |
| 19 const char kPopularSitesOverridePath[] = "popular_sites.override_path"; |
| 20 |
| 18 // If set, this will override the country detection for popular sites. | 21 // If set, this will override the country detection for popular sites. |
| 19 const char kPopularSitesOverrideCountry[] = "popular_sites.override_country"; | 22 const char kPopularSitesOverrideCountry[] = "popular_sites.override_country"; |
| 20 | 23 |
| 21 // If set, this will override the default file version for popular sites. | 24 // If set, this will override the default file version for popular sites. |
| 22 const char kPopularSitesOverrideVersion[] = "popular_sites.override_version"; | 25 const char kPopularSitesOverrideVersion[] = "popular_sites.override_version"; |
| 23 | 26 |
| 24 } // namespace prefs | 27 } // namespace prefs |
| 25 } // namespace ntp_tiles | 28 } // namespace ntp_tiles |
| OLD | NEW |