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

Unified Diff: chrome/common/switch_utils.cc

Issue 8413023: Remove --no-startup-window flag when restarting chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also remove kRestoreLastSession on restart so it does not persist. Created 9 years, 2 months 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
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/switch_utils.cc
diff --git a/chrome/common/switch_utils.cc b/chrome/common/switch_utils.cc
index e704d151c0e627207c9c5e43718c3910567cc27e..41752dab3242eeb361f4f9686785c967fb7e5fa8 100644
--- a/chrome/common/switch_utils.cc
+++ b/chrome/common/switch_utils.cc
@@ -19,7 +19,9 @@ const char* const kSwitchesToRemoveOnAutorestart[] = {
switches::kFirstRun,
switches::kImport,
switches::kImportFromFile,
- switches::kMakeDefaultBrowser
+ switches::kMakeDefaultBrowser,
+ switches::kNoStartupWindow,
+ switches::kRestoreLastSession
};
void RemoveSwitchesForAutostart(
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698