From: csagan5 <32685696+csagan5@users.noreply.github.com>
Date: Thu, 12 Oct 2017 08:15:17 +0200
Subject: Disable NTP remote suggestions by default

License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
---
 components/feed/core/shared_prefs/pref_names.cc | 4 ++--
 components/ntp_snippets/features.cc             | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/components/feed/core/shared_prefs/pref_names.cc b/components/feed/core/shared_prefs/pref_names.cc
--- a/components/feed/core/shared_prefs/pref_names.cc
+++ b/components/feed/core/shared_prefs/pref_names.cc
@@ -20,8 +20,8 @@ const char kArticlesListVisible[] = "ntp_snippets.list_visible";
 const char kVideoPreviewsType[] = "ntp_snippets.video_previews_type";
 
 void RegisterFeedSharedProfilePrefs(PrefRegistrySimple* registry) {
-  registry->RegisterBooleanPref(kEnableSnippets, true);
-  registry->RegisterBooleanPref(kArticlesListVisible, true);
+  registry->RegisterBooleanPref(kEnableSnippets, false);
+  registry->RegisterBooleanPref(kArticlesListVisible, false);
   registry->RegisterIntegerPref(kVideoPreviewsType, 1);
 }
 
diff --git a/components/ntp_snippets/features.cc b/components/ntp_snippets/features.cc
--- a/components/ntp_snippets/features.cc
+++ b/components/ntp_snippets/features.cc
@@ -39,8 +39,8 @@ const base::Feature* const kAllFeatures[] = {
     &kOptionalImagesEnabledFeature};
 
 BASE_FEATURE(kArticleSuggestionsFeature,
-             "NTPArticleSuggestions",
-             base::FEATURE_ENABLED_BY_DEFAULT);
+             "NTPArticleSuggestions",                            // disabled by default
+             base::FEATURE_DISABLED_BY_DEFAULT);                 // in Bromite
 
 BASE_FEATURE(kRemoteSuggestionsEmulateM58FetchingSchedule,
              "RemoteSuggestionsEmulateM58FetchingSchedule",
@@ -71,8 +71,8 @@ const char kNotificationsDailyLimit[] = "daily_limit";
 const char kNotificationsIgnoredLimitParam[] = "ignored_limit";
 
 BASE_FEATURE(kKeepPrefetchedContentSuggestions,
-             "KeepPrefetchedContentSuggestions",
-             base::FEATURE_ENABLED_BY_DEFAULT);
+             "KeepPrefetchedContentSuggestions",                // disabled by default
+             base::FEATURE_DISABLED_BY_DEFAULT);                // in Bromite
 
 BASE_FEATURE(kOptionalImagesEnabledFeature,
              "NTPRemoteSuggestionsOptionalImages",
--
2.25.1
