Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Unified Diff: chrome/browser/browser_shutdown.cc

Issue 8745015: Store the "browser autorestarted, last session must be restored" information in a preference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/browser_shutdown.cc
diff --git a/chrome/browser/browser_shutdown.cc b/chrome/browser/browser_shutdown.cc
index 044b5051e3534765b792c58cc704d7807f90bb95..7f46b5e493a923d0f90f1f89e6c240a57303598d 100644
--- a/chrome/browser/browser_shutdown.cc
+++ b/chrome/browser/browser_shutdown.cc
@@ -218,10 +218,6 @@ void ShutdownPostThreadsStop(bool restart_last_session) {
else
new_cl->AppendSwitch(i->first);
}
- // Ensure restore last session is set.
- if (!new_cl->HasSwitch(switches::kRestoreLastSession))
- new_cl->AppendSwitch(switches::kRestoreLastSession);
-
upgrade_util::RelaunchChromeBrowser(*new_cl.get());
#else
NOTIMPLEMENTED();

Powered by Google App Engine
This is Rietveld 408576698