| 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 39ae0d4183ab35192c172955f33bb2f3f14c33ad..0f378de09a9b10e1e614b28d6153d37655b7feec 100644
|
| --- a/chrome/browser/ui/startup/default_browser_prompt.cc
|
| +++ b/chrome/browser/ui/startup/default_browser_prompt.cc
|
| @@ -181,12 +181,10 @@ namespace chrome {
|
| void ShowDefaultBrowserPrompt(Profile* profile) {
|
| // We do not check if we are the default browser if:
|
| // - the user said "don't ask me again" on the infobar earlier.
|
| - // - this is the first launch after the first run flow.
|
| // - There is a policy in control of this setting.
|
| - if (!profile->GetPrefs()->GetBoolean(prefs::kCheckDefaultBrowser) ||
|
| - first_run::IsChromeFirstRun()) {
|
| + if (!profile->GetPrefs()->GetBoolean(prefs::kCheckDefaultBrowser))
|
| return;
|
| - }
|
| +
|
| if (g_browser_process->local_state()->IsManagedPreference(
|
| prefs::kDefaultBrowserSettingEnabled)) {
|
| if (g_browser_process->local_state()->GetBoolean(
|
|
|