123456789101112131415 |
- # Add flag --hide-crashed-bubble to hide the bubble box:
- # "Restore Pages? Chromium didn't shut down correctly."
- --- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
- +++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
- @@ -879,7 +879,8 @@ void StartupBrowserCreatorImpl::AddInfoB
- if (command_line_.HasSwitch(switches::kKioskMode))
- return;
-
- - if (HasPendingUncleanExit(browser->profile()))
- + if (HasPendingUncleanExit(browser->profile()) &&
- + !command_line_.HasSwitch("hide-crashed-bubble"))
- SessionCrashedBubble::ShowIfNotOffTheRecordProfile(browser);
-
- // The below info bars are only added to the first profile which is launched.
|