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

Unified Diff: chrome/browser/ui/webui/settings/settings_default_browser_handler.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/webui/settings/settings_default_browser_handler.cc
diff --git a/chrome/browser/ui/webui/settings/settings_default_browser_handler.cc b/chrome/browser/ui/webui/settings/settings_default_browser_handler.cc
index b2083d71e92ec21fe4452274fe59e0f3e8fa78a0..a25e964a1f916ab40978c876b48a00015109a3e7 100644
--- a/chrome/browser/ui/webui/settings/settings_default_browser_handler.cc
+++ b/chrome/browser/ui/webui/settings/settings_default_browser_handler.cc
@@ -72,8 +72,7 @@ void DefaultBrowserHandler::OnDefaultBrowserWorkerFinished(
base::FundamentalValue can_be_default(
state != shell_integration::UNKNOWN_DEFAULT &&
!IsDisabledByPolicy(default_browser_policy_) &&
- shell_integration::CanSetAsDefaultBrowser() !=
- shell_integration::SET_DEFAULT_NOT_ALLOWED);
+ shell_integration::CanSetAsDefaultBrowser());
web_ui()->CallJavascriptFunction("Settings.updateDefaultBrowserState",
is_default, can_be_default);

Powered by Google App Engine
This is Rietveld 408576698