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

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: Fix mac compilation 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 59e043d6ee2ccb931d24fd4e0059d947e6917e9e..9127ccbad930cdbec2661866f08c6401903ff42f 100644
--- a/chrome/browser/ui/startup/default_browser_prompt.cc
+++ b/chrome/browser/ui/startup/default_browser_prompt.cc
@@ -230,8 +230,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