Index: chrome/browser/ui/startup/startup_browser_creator_impl.cc |
diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
index ca0e97f30fbaaa825636fa2f1402f35c8b84857b..98f5412a847a88e9575628db4de7bf918d648131 100644 |
--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
@@ -362,8 +362,12 @@ bool StartupBrowserCreatorImpl::Launch(Profile* profile, |
if (process_startup) { |
if (browser_defaults::kOSSupportsOtherBrowsers && |
!command_line_.HasSwitch(switches::kNoDefaultBrowserCheck)) { |
- if (!chrome::ShowAutolaunchPrompt(profile)) |
- chrome::ShowDefaultBrowserPrompt(profile); |
+ if (!chrome::ShowAutolaunchPrompt(profile)) { |
+ bool permit_prompt_on_first_run = browser_creator_ && |
grt (UTC plus 2)
2012/07/25 10:54:55
please add a simple comment like:
// The prompt is
motek.
2012/07/25 12:10:40
Done.
|
+ browser_creator_->get_suppressed_set_as_default_dialog(); |
+ chrome::ShowDefaultBrowserPrompt(profile, |
+ permit_prompt_on_first_run); |
+ } |
} |
#if defined(OS_MACOSX) |
// Check whether the auto-update system needs to be promoted from user |