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

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

Issue 9348022: [cros] Use mocked URLFetcher and other mocks in ExistingUserController tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move Created 8 years, 9 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/chromeos/login/existing_user_controller.cc
diff --git a/chrome/browser/chromeos/login/existing_user_controller.cc b/chrome/browser/chromeos/login/existing_user_controller.cc
index 058d4db47622a5e73a46b852b8a9ca4001df2bb5..388b881871ad3517e950b86f2bc0d7463dc6b638 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.cc
+++ b/chrome/browser/chromeos/login/existing_user_controller.cc
@@ -586,7 +586,7 @@ void ExistingUserController::OnProfilePrepared(Profile* profile) {
if (CommandLine::ForCurrentProcess()->HasSwitch(
switches::kOobeSkipPostLogin)) {
ready_for_browser_launch_ = true;
- LoginUtils::DoBrowserLaunch(profile, host_);
+ LoginUtils::Get()->DoBrowserLaunch(profile, host_);
host_ = NULL;
} else {
#endif
@@ -597,7 +597,7 @@ void ExistingUserController::OnProfilePrepared(Profile* profile) {
}
#endif
} else {
- LoginUtils::DoBrowserLaunch(profile, host_);
+ LoginUtils::Get()->DoBrowserLaunch(profile, host_);
// Inform |login_status_consumer_| about successful login after
// browser launch. Set most params to empty since they're not needed.
if (login_status_consumer_)

Powered by Google App Engine
This is Rietveld 408576698