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

Unified Diff: components/ntp_snippets/pref_names.cc

Issue 2158373002: [NTP Snippets] Add a pref to disable the NTPSnippetsService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 side-by-side diff with in-line comments
Download patch
Index: components/ntp_snippets/pref_names.cc
diff --git a/components/ntp_snippets/pref_names.cc b/components/ntp_snippets/pref_names.cc
index ecfb9ee0e6ab4fefb4b559310acb5e4c71c9f1d0..43888038db8429396abd8688913d5475dab8d2e0 100644
--- a/components/ntp_snippets/pref_names.cc
+++ b/components/ntp_snippets/pref_names.cc
@@ -7,6 +7,8 @@
namespace ntp_snippets {
namespace prefs {
+const char kDisableSnippets[] = "ntp_snippets.disable";
+
const char kSnippetHosts[] = "ntp_snippets.hosts";
} // namespace prefs

Powered by Google App Engine
This is Rietveld 408576698