25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
From: Daniel Micay <danielmicay@gmail.com>
|
||
|
Date: Thu, 8 Mar 2018 22:43:12 -0500
|
||
|
Subject: [PATCH] disable article suggestions feature by default
|
||
|
|
||
|
---
|
||
|
components/feed/core/shared_prefs/pref_names.cc | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/components/feed/core/shared_prefs/pref_names.cc b/components/feed/core/shared_prefs/pref_names.cc
|
||
|
index e239b42b31ef3..5a5e881272c22 100644
|
||
|
--- 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);
|
||
|
}
|
||
|
|