Skip to content

Commit

Permalink
Merge pull request #5761 from brave/fix-10131
Browse files Browse the repository at this point in the history
Disables Brave suggested sites by default
  • Loading branch information
ryanml committed Jun 7, 2020
2 parents fdcb126 + 5bde5fc commit 2bd5c45
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 @@ -229,7 +229,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 2bd5c45

Please sign in to comment.