Skip to content

Commit

Permalink
Merge pull request #5764 from brave/opt-in-ref-1.10
Browse files Browse the repository at this point in the history
Disables Brave suggested sites by default (uplift to 1.10.x)
  • Loading branch information
bsclifton committed Jun 8, 2020
2 parents 93a59f1 + a29e1a7 commit 0a24b29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion browser/brave_profile_prefs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
// Autocomplete in address bar
registry->RegisterBooleanPref(kAutocompleteEnabled, true);
registry->RegisterBooleanPref(kTopSiteSuggestionsEnabled, true);
registry->RegisterBooleanPref(kBraveSuggestedSiteSuggestionsEnabled, true);
registry->RegisterBooleanPref(kBraveSuggestedSiteSuggestionsEnabled, false);

// Password leak detection should be disabled
registry->SetDefaultPrefValue(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ IN_PROC_BROWSER_TEST_F(OmniboxAutocompleteTest, TopSiteSuggestionsEnabledTest) {

IN_PROC_BROWSER_TEST_F(OmniboxAutocompleteTest,
BraveSuggestedSiteSuggestionsEnabledTest) {
EXPECT_TRUE(browser()->profile()->GetPrefs()->GetBoolean(
EXPECT_FALSE(browser()->profile()->GetPrefs()->GetBoolean(
kBraveSuggestedSiteSuggestionsEnabled));
}

0 comments on commit 0a24b29

Please sign in to comment.