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

Side by Side Diff: components/ntp_tiles/pref_names.cc

Issue 2131863002: MostVisitedSites: simplify prefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_provider_id
Patch Set: rebase Created 4 years, 5 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
« no previous file with comments | « components/ntp_tiles/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « components/ntp_tiles/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698