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

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

Issue 2841643005: [Popular Sites] Add Variations parameter to override URL path (Closed)
Patch Set: Update ntp-tiles-internals. Created 3 years, 8 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
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 // 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
OLDNEW
« no previous file with comments | « components/ntp_tiles/pref_names.h ('k') | components/ntp_tiles/webui/ntp_tiles_internals_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698