| Index: chrome/browser/browser_shutdown.cc
|
| diff --git a/chrome/browser/browser_shutdown.cc b/chrome/browser/browser_shutdown.cc
|
| index 5aa4b662cabdafca078e20ff6e4c48ff57b22814..044b5051e3534765b792c58cc704d7807f90bb95 100644
|
| --- a/chrome/browser/browser_shutdown.cc
|
| +++ b/chrome/browser/browser_shutdown.cc
|
| @@ -114,7 +114,7 @@ FilePath GetShutdownMsPath() {
|
| return shutdown_ms_file.AppendASCII(kShutdownMsFile);
|
| }
|
|
|
| -void Shutdown() {
|
| +bool ShutdownPreThreadsStop() {
|
| #if defined(OS_CHROMEOS)
|
| chromeos::BootTimesLoader::Get()->AddLogoutTimeMarker(
|
| "BrowserShutdownStarted", false);
|
| @@ -162,6 +162,10 @@ void Shutdown() {
|
| RLZTracker::CleanupRlz();
|
| #endif
|
|
|
| + return restart_last_session;
|
| +}
|
| +
|
| +void ShutdownPostThreadsStop(bool restart_last_session) {
|
| // The jank'o'meter requires that the browser process has been destroyed
|
| // before calling UninstallJankometer().
|
| delete g_browser_process;
|
|
|