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

Unified Diff: components/ntp_tiles/constants.cc

Issue 2741413008: Introduce flag to disable static popular sites. (Closed)
Patch Set: Use feature instead of params 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/ntp_tiles/constants.h ('k') | components/ntp_tiles/popular_sites_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_tiles/constants.cc
diff --git a/components/ntp_tiles/constants.cc b/components/ntp_tiles/constants.cc
index 7e3d84f9de1398164b40a2015429e9130865ce5f..0c54388e9a8a95371d1c12d2ff9740664f5495dc 100644
--- a/components/ntp_tiles/constants.cc
+++ b/components/ntp_tiles/constants.cc
@@ -4,8 +4,13 @@
#include "components/ntp_tiles/constants.h"
+#include "base/feature_list.h"
+
namespace ntp_tiles {
const char kPopularSitesFieldTrialName[] = "NTPPopularSites";
+extern const base::Feature kPopularSitesBakedInContentFeature{
+ "NTPPopularSitesBakedInContent", base::FEATURE_ENABLED_BY_DEFAULT};
+
} // namespace ntp_tiles
« no previous file with comments | « components/ntp_tiles/constants.h ('k') | components/ntp_tiles/popular_sites_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698