Chromium Code Reviews| Index: chrome/browser/ui/startup/default_browser_prompt_win.cc |
| diff --git a/chrome/browser/ui/startup/default_browser_prompt_win.cc b/chrome/browser/ui/startup/default_browser_prompt_win.cc |
| index 4b19c166e538dbc06b53873846f176023f8120e9..a70279eb007cac8cccc80e4b68fa4586de897b99 100644 |
| --- a/chrome/browser/ui/startup/default_browser_prompt_win.cc |
| +++ b/chrome/browser/ui/startup/default_browser_prompt_win.cc |
| @@ -5,6 +5,7 @@ |
| #include "chrome/browser/ui/startup/default_browser_prompt.h" |
| #include "base/prefs/pref_service.h" |
| +#include "base/win/windows_version.h" |
| #include "chrome/browser/profiles/profile.h" |
| #include "chrome/browser/shell_integration.h" |
| #include "chrome/browser/ui/browser.h" |
| @@ -70,6 +71,11 @@ void SetMetroBrowserFlowLauncher::Observe( |
| namespace chrome { |
| bool ShowFirstRunDefaultBrowserPrompt(Profile* profile) { |
| + // The behavior on Windows 10 is no good at the moment, so do not show the |
|
msw
2015/07/10 19:54:03
nit: This comment doesn't really add value, maybe
|
| + // prompt. |
| + if (base::win::GetVersion() >= base::win::VERSION_WIN10) |
| + return false; |
| + |
| // If the only available mode of setting the default browser requires |
| // user interaction, it means this couldn't have been done yet. Therefore, |
| // we launch the dialog and inform the caller of it. |