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

Unified Diff: components/ntp_snippets/features.h

Issue 2227953002: [NTP Snippets] Add kArticleSuggestionsFeature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
Index: components/ntp_snippets/features.h
diff --git a/components/ntp_snippets/features.h b/components/ntp_snippets/features.h
index 661978784529c6640468a3177d8a607c22ee3a4c..c83dab012e1d77d8dd56b80d9bb6cdb553eb536d 100644
--- a/components/ntp_snippets/features.h
+++ b/components/ntp_snippets/features.h
@@ -9,7 +9,12 @@
namespace ntp_snippets {
+// Features to turn individual providers on/off.
+extern const base::Feature kArticleSuggestionsFeature;
extern const base::Feature kBookmarkSuggestionsFeature;
Marc Treib 2016/08/09 10:18:53 Probably kNTPOfflinePageSuggestionsFeature should
Bernhard Bauer 2016/08/09 10:27:36 Yes, that would be good. Thanks!
+
+// Global toggle for the whole content suggestions feature. If this is set to
+// false, all the per-provider features are ignored.
extern const base::Feature kContentSuggestionsFeature;
} // namespace ntp_snippets

Powered by Google App Engine
This is Rietveld 408576698