| Index: chrome/browser/chromeos/login/parallel_authenticator_unittest.cc
|
| diff --git a/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc b/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc
|
| index 08f02bd362e1ed4b93afceaa38064ef246671a63..27a82202212b614eb3dbe3c0843616f84b5b8951 100644
|
| --- a/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc
|
| +++ b/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc
|
| @@ -146,11 +146,13 @@ class ParallelAuthenticatorTest : public testing::Test {
|
| const std::string& password,
|
| const std::string& username_hash_,
|
| bool pending) {
|
| - EXPECT_CALL(consumer_, OnLoginSuccess(UserContext(username,
|
| - password,
|
| - std::string(),
|
| - username_hash_,
|
| - true /* using_oauth */)))
|
| + EXPECT_CALL(consumer_, OnLoginSuccess(UserContext(
|
| + username,
|
| + password,
|
| + std::string(),
|
| + username_hash_,
|
| + true, // using_oauth
|
| + UserContext::AUTH_FLOW_OFFLINE)))
|
| .WillOnce(Invoke(MockConsumer::OnSuccessQuit))
|
| .RetiresOnSaturation();
|
| }
|
| @@ -207,11 +209,13 @@ class ParallelAuthenticatorTest : public testing::Test {
|
| };
|
|
|
| TEST_F(ParallelAuthenticatorTest, OnLoginSuccess) {
|
| - EXPECT_CALL(consumer_, OnLoginSuccess(UserContext(username_,
|
| - password_,
|
| - std::string(),
|
| - username_hash_,
|
| - true /* using oauth */)))
|
| + EXPECT_CALL(consumer_, OnLoginSuccess(UserContext(
|
| + username_,
|
| + password_,
|
| + std::string(),
|
| + username_hash_,
|
| + true, // using oauth
|
| + UserContext::AUTH_FLOW_OFFLINE)))
|
| .Times(1)
|
| .RetiresOnSaturation();
|
|
|
|
|