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

Unified Diff: chrome/browser/defaults.cc

Issue 10911222: Chrome OS should open to empty desktop when session restore is empty. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
Index: chrome/browser/defaults.cc
diff --git a/chrome/browser/defaults.cc b/chrome/browser/defaults.cc
index 72ad818b46a2a67a917c74ab928cac698f979569..849746fea319166aeb7d5ccb6666543fed80b88b 100644
--- a/chrome/browser/defaults.cc
+++ b/chrome/browser/defaults.cc
@@ -110,9 +110,13 @@ const bool kPasswordEchoEnabled = false;
#endif
#if defined(OS_CHROMEOS)
-const bool kAppRestoreSession = true;
+// On Chrome OS we're initializing into new user session with only
+// Getting started guide shown as an app window.
+// In all other cases (existing user) we're initializing to empty desktop
+// if that what user had on sign out. http://crbug.com/141718
+const bool kAlwaysCreateTabbedBrowserOnStartup = false;
#else
-const bool kAppRestoreSession = false;
+const bool kAlwaysCreateTabbedBrowserOnStartup = true;
#endif
bool bookmarks_enabled = true;

Powered by Google App Engine
This is Rietveld 408576698