Chromium Code Reviews

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

Issue 1256004: In process browser test for login screen. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/login_manager_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/existing_user_controller.cc
===================================================================
--- chrome/browser/chromeos/login/existing_user_controller.cc (revision 42738)
+++ chrome/browser/chromeos/login/existing_user_controller.cc (working copy)
@@ -14,7 +14,7 @@
#include "chrome/browser/chromeos/cros/login_library.h"
#include "chrome/browser/chromeos/login/authenticator.h"
#include "chrome/browser/chromeos/login/background_view.h"
-#include "chrome/browser/chromeos/login/utils.h"
+#include "chrome/browser/chromeos/login/login_utils.h"
#include "chrome/browser/chromeos/login/wizard_controller.h"
#include "chrome/browser/chromeos/wm_ipc.h"
#include "views/screen.h"
@@ -118,7 +118,7 @@
DCHECK(i != controllers_.end());
index_of_view_logging_in_ = i - controllers_.begin();
- authenticator_.reset(login_utils::CreateAuthenticator(this));
+ authenticator_.reset(LoginUtils::Get()->CreateAuthenticator(this));
authenticator_->Authenticate(
controllers_[index_of_view_logging_in_]->user().email(),
UTF16ToUTF8(password));
@@ -151,7 +151,7 @@
background_window_->Close();
- chromeos::login_utils::CompleteLogin(username, cookies);
+ chromeos::LoginUtils::Get()->CompleteLogin(username, cookies);
// Delay deletion as we're on the stack.
MessageLoop::current()->DeleteSoon(FROM_HERE, this);
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/login_manager_view.cc » ('j') | no next file with comments »

Powered by Google App Engine