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
- @@ -827,7 +827,8 @@ void StartupBrowserCreatorImpl::AddInfoB
- if (!browser || !profile_ || browser->tab_strip_model()->count() == 0)
- return;
-
- - if (HasPendingUncleanExit(browser->profile())) {
- + if (HasPendingUncleanExit(browser->profile()) &&
- + !command_line_.HasSwitch("hide-crashed-bubble")) {
- SessionCrashedBubble::Show(browser);
- }
-
|