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 // Ordered list of website suggestions shown on the new tab page that will allow | 10 const char kDeprecatedNTPSuggestionsURL[] = "ntp.suggestions_url"; |
11 // retaining the order even if the suggestions change over time. | 11 const char kDeprecatedNTPSuggestionsIsPersonal[] = |
12 const char kNTPSuggestionsURL[] = "ntp.suggestions_url"; | 12 "ntp.suggestions_is_personal"; |
13 | 13 |
14 // Whether the suggestion was derived from personal data. | 14 // The number of personal suggestions we had previously. Used to figure out |
15 const char kNTPSuggestionsIsPersonal[] = "ntp.suggestions_is_personal"; | 15 // whether we need popular sites. |
| 16 const char kNumPersonalSuggestions[] = "ntp.num_personal_suggestions"; |
16 | 17 |
17 // If set, overrides the URL for popular sites, including the individual | 18 // If set, overrides the URL for popular sites, including the individual |
18 // overrides for country and version below. | 19 // overrides for country and version below. |
19 const char kPopularSitesOverrideURL[] = "popular_sites.override_url"; | 20 const char kPopularSitesOverrideURL[] = "popular_sites.override_url"; |
20 | 21 |
21 // If set, this will override the country detection for popular sites. | 22 // If set, this will override the country detection for popular sites. |
22 const char kPopularSitesOverrideCountry[] = "popular_sites.override_country"; | 23 const char kPopularSitesOverrideCountry[] = "popular_sites.override_country"; |
23 | 24 |
24 // 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. |
25 const char kPopularSitesOverrideVersion[] = "popular_sites.override_version"; | 26 const char kPopularSitesOverrideVersion[] = "popular_sites.override_version"; |
26 | 27 |
27 } // namespace prefs | 28 } // namespace prefs |
28 } // namespace ntp_tiles | 29 } // namespace ntp_tiles |
OLD | NEW |