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

Unified Diff: chrome/installer/util/shell_util.cc

Issue 1920033004: Fixed a bug with the default flow on Windows 8.1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/shell_util.cc
diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc
index 02c702b38aee209d9fddd073ebf8a6bc7722ec79..416d0a07bbf413d9b814495079c0dd79cf9caf29 100644
--- a/chrome/installer/util/shell_util.cc
+++ b/chrome/installer/util/shell_util.cc
@@ -1842,10 +1842,10 @@ bool ShellUtil::CanMakeChromeDefaultUnattended() {
ShellUtil::InteractiveSetDefaultMode ShellUtil::GetInteractiveSetDefaultMode() {
DCHECK(!CanMakeChromeDefaultUnattended());
- if (base::win::GetVersion() == base::win::VERSION_WIN8)
- return InteractiveSetDefaultMode::INTENT_PICKER;
+ if (base::win::GetVersion() >= base::win::VERSION_WIN10)
+ return InteractiveSetDefaultMode::SYSTEM_SETTINGS;
- return InteractiveSetDefaultMode::SYSTEM_SETTINGS;
+ return InteractiveSetDefaultMode::INTENT_PICKER;
}
bool ShellUtil::MakeChromeDefault(BrowserDistribution* dist,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698