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

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: make switch available on all platforms 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
« no previous file with comments | « chrome/browser/defaults.h ('k') | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/defaults.cc
diff --git a/chrome/browser/defaults.cc b/chrome/browser/defaults.cc
index 72ad818b46a2a67a917c74ab928cac698f979569..f99d19bb43245b7618d88039a5ee57ef1f38e09c 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 (session restore is skipped).
+// In all other cases (existing user) we're initializing to empty desktop
+// if session restore is empty. http://crbug.com/141718
+const bool kAlwaysCreateTabbedBrowserOnSessionRestore = false;
#else
-const bool kAppRestoreSession = false;
+const bool kAlwaysCreateTabbedBrowserOnSessionRestore = true;
#endif
bool bookmarks_enabled = true;
« no previous file with comments | « chrome/browser/defaults.h ('k') | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698