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

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

Issue 2741413008: Introduce flag to disable static popular sites. (Closed)
Patch Set: Use param instead of new trial Created 3 years, 9 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/switches.h" 5 #include "components/ntp_tiles/switches.h"
6 6
7 namespace ntp_tiles { 7 namespace ntp_tiles {
8 namespace switches { 8 namespace switches {
9 9
10 // Enables using the default search engine country to show country specific 10 // Enables using the default search engine country to show country specific
11 // popular sites on the NTP. 11 // popular sites on the NTP.
12 const char kEnableNTPSearchEngineCountryDetection[] = 12 const char kEnableNTPSearchEngineCountryDetection[] =
13 "enable-ntp-search-engine-country-detection"; 13 "enable-ntp-search-engine-country-detection";
14 14
15 // Enables showing popular sites on the NTP. 15 // Enables showing popular sites on the NTP.
16 const char kEnableNTPPopularSites[] = "enable-ntp-popular-sites"; 16 const char kEnableNTPPopularSites[] = "enable-ntp-popular-sites";
17 17
18 // Disables showing popular sites on the NTP. 18 // Disables showing popular sites on the NTP.
19 const char kDisableNTPPopularSites[] = "disable-ntp-popular-sites"; 19 const char kDisableNTPPopularSites[] = "disable-ntp-popular-sites";
20 20
21 // Enables showing baked-in popular sites and their icons on the NTP.
22 const char kEnableNTPBakedInSites[] = "enable-ntp-baked-in-sites";
23
24 // Disables showing baked-in popular sites and their icons on the NTP.
25 const char kDisableNTPBakedInSites[] = "disable-ntp-baked-in-sites";
26
21 } // namespace switches 27 } // namespace switches
22 } // namespace ntp_tiles 28 } // namespace ntp_tiles
OLDNEW
« components/ntp_tiles/field_trial.cc ('K') | « components/ntp_tiles/switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698