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

Unified Diff: chrome/browser/ui/startup/default_browser_prompt.cc

Issue 1832853003: DefaultBrowserWorker now fully supports opening the settings for Win10 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sky comments + refactoring 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/startup/default_browser_prompt.cc
diff --git a/chrome/browser/ui/startup/default_browser_prompt.cc b/chrome/browser/ui/startup/default_browser_prompt.cc
index 21556593552631820b9b509fe87cf7243125eac7..8ec8ba7a6ab2efc1dc7ab3518643728f6c8c4b50 100644
--- a/chrome/browser/ui/startup/default_browser_prompt.cc
+++ b/chrome/browser/ui/startup/default_browser_prompt.cc
@@ -232,8 +232,7 @@ void OnCheckIsDefaultBrowserFinished(
// default browser.
ResetCheckDefaultBrowserPref(profile_path);
} else if (show_prompt && state == shell_integration::NOT_DEFAULT &&
- shell_integration::CanSetAsDefaultBrowser() !=
- shell_integration::SET_DEFAULT_NOT_ALLOWED) {
+ shell_integration::CanSetAsDefaultBrowser()) {
ShowPrompt();
}
}

Powered by Google App Engine
This is Rietveld 408576698