Index: chrome/browser/chromeos/login/test_login_utils.cc |
diff --git a/chrome/browser/chromeos/login/test_login_utils.cc b/chrome/browser/chromeos/login/test_login_utils.cc |
index 051fce60818d7110bf1ba8cad237136d936b1b38..8e3a7026943de5b845655270667f62f5581da4cb 100644 |
--- a/chrome/browser/chromeos/login/test_login_utils.cc |
+++ b/chrome/browser/chromeos/login/test_login_utils.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/browser/chromeos/login/test_login_utils.h" |
#include "chrome/browser/chromeos/login/mock_authenticator.h" |
+#include "chrome/browser/chromeos/login/user.h" |
namespace chromeos { |
@@ -17,14 +18,13 @@ TestLoginUtils::TestLoginUtils(const std::string& expected_username, |
TestLoginUtils::~TestLoginUtils() {} |
void TestLoginUtils::PrepareProfile( |
- const std::string& username, |
+ const UserCredentials& credentials, |
const std::string& display_email, |
- const std::string& password, |
bool using_oauth, |
bool has_cookies, |
Delegate* delegate) { |
- DCHECK_EQ(expected_username_, username); |
- DCHECK_EQ(expected_password_, password); |
+ DCHECK_EQ(expected_username_, credentials.username); |
+ DCHECK_EQ(expected_password_, credentials.password); |
// Profile hasn't been loaded. |
delegate->OnProfilePrepared(NULL); |
} |