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

Unified Diff: chrome/browser/ui/browser_ui_prefs.cc

Issue 1748773002: Simplify the default browser infobar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fieldtrial testing Created 4 years, 8 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: chrome/browser/ui/browser_ui_prefs.cc
diff --git a/chrome/browser/ui/browser_ui_prefs.cc b/chrome/browser/ui/browser_ui_prefs.cc
index aeb6ca42c805594082c897002613684a8d387efd..e14a72b70c0c762a1a1a713ab0c40920b62e6f59 100644
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -73,7 +73,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistrySyncable* registry) {
prefs::kClearBrowsingDataHistoryNoticeShownTimes, 0);
registry->RegisterInt64Pref(prefs::kLastClearBrowsingDataTime, 0);
registry->RegisterIntegerPref(prefs::kModuleConflictBubbleShown, 0);
- registry->RegisterBooleanPref(prefs::kCheckDefaultBrowser, true);
+ registry->RegisterInt64Pref(prefs::kDefaultBrowserLastDeclined, 0);
bool reset_check_default = false;
#if defined(OS_WIN)
reset_check_default = base::win::GetVersion() >= base::win::VERSION_WIN10;

Powered by Google App Engine
This is Rietveld 408576698