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

Unified Diff: chrome/browser/chromeos/login/login_utils.cc

Issue 10384106: Extract StartupTabs and startup types from StartupBrowserCreator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/app_controller_mac.mm ('k') | chrome/browser/profiles/avatar_menu_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/login_utils.cc
===================================================================
--- chrome/browser/chromeos/login/login_utils.cc (revision 136582)
+++ chrome/browser/chromeos/login/login_utils.cc (working copy)
@@ -717,22 +717,21 @@
VLOG(1) << "Launching browser...";
StartupBrowserCreator browser_creator;
int return_code;
- StartupBrowserCreator::IsFirstRun first_run = first_run::IsChromeFirstRun() ?
- StartupBrowserCreator::IS_FIRST_RUN :
- StartupBrowserCreator::IS_NOT_FIRST_RUN;
+ browser::startup::IsFirstRun first_run = first_run::IsChromeFirstRun() ?
+ browser::startup::IS_FIRST_RUN :
+ browser::startup::IS_NOT_FIRST_RUN;
browser_creator.LaunchBrowser(*CommandLine::ForCurrentProcess(),
profile,
FilePath(),
- StartupBrowserCreator::IS_PROCESS_STARTUP,
+ browser::startup::IS_PROCESS_STARTUP,
first_run,
&return_code);
// Mark login host for deletion after browser starts. This
// guarantees that the message loop will be referenced by the
// browser before it is dereferenced by the login host.
- if (login_host) {
+ if (login_host)
login_host->OnSessionStart();
- }
UserManager::Get()->SessionStarted();
}
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/profiles/avatar_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698