Index: chrome/browser/chromeos/login/online_attempt_unittest.cc |
diff --git a/chrome/browser/chromeos/login/online_attempt_unittest.cc b/chrome/browser/chromeos/login/online_attempt_unittest.cc |
index 0cdd9e9979363855ea12728d4be6426b69451e04..02620ea36afe541ade64699c7db8ffa5cccc8eb8 100644 |
--- a/chrome/browser/chromeos/login/online_attempt_unittest.cc |
+++ b/chrome/browser/chromeos/login/online_attempt_unittest.cc |
@@ -35,7 +35,7 @@ class OnlineAttemptTest : public testing::Test { |
OnlineAttemptTest() |
: message_loop_(MessageLoop::TYPE_UI), |
ui_thread_(BrowserThread::UI, &message_loop_), |
- state_("", "", "", "", "", User::USER_TYPE_REGULAR, false), |
+ state_(UserCredentials(), "", "", "", User::USER_TYPE_REGULAR, false), |
resolver_(new MockAuthAttemptStateResolver) { |
} |
@@ -168,7 +168,7 @@ TEST_F(OnlineAttemptTest, HostedLoginRejected) { |
// This is how we inject fake URLFetcher objects, with a factory. |
MockURLFetcherFactory<HostedFetcher> factory; |
- TestAttemptState local_state("", "", "", "", "", |
+ TestAttemptState local_state(UserCredentials(), "", "", "", |
User::USER_TYPE_REGULAR, true); |
attempt_.reset(new OnlineAttempt(&local_state, resolver_.get())); |
attempt_->Initiate(&profile); |
@@ -193,7 +193,7 @@ TEST_F(OnlineAttemptTest, FullLogin) { |
// This is how we inject fake URLFetcher objects, with a factory. |
MockURLFetcherFactory<SuccessFetcher> factory; |
- TestAttemptState local_state("", "", "", "", "", |
+ TestAttemptState local_state(UserCredentials(), "", "", "", |
User::USER_TYPE_REGULAR, true); |
attempt_.reset(new OnlineAttempt(&local_state, resolver_.get())); |
attempt_->Initiate(&profile); |