Index: chrome/browser/ui/webui/options/sync_setup_handler_unittest.cc |
diff --git a/chrome/browser/ui/webui/options/sync_setup_handler_unittest.cc b/chrome/browser/ui/webui/options/sync_setup_handler_unittest.cc |
index 92fd14df4ea035caee0e663d821ec5276cbc753a..db05b3c1a39ac6823ac32bc484ec552eb9899907 100644 |
--- a/chrome/browser/ui/webui/options/sync_setup_handler_unittest.cc |
+++ b/chrome/browser/ui/webui/options/sync_setup_handler_unittest.cc |
@@ -276,7 +276,7 @@ class SyncSetupHandlerTest : public testing::Test { |
SigninManagerFactory::GetForProfile(profile_.get())); |
std::string username = GetTestUser(); |
if (!username.empty()) |
- mock_signin_->SetAuthenticatedUsername(username); |
+ mock_signin_->SetAuthenticatedAccountInfo(username, username); |
mock_pss_ = static_cast<ProfileSyncServiceMock*>( |
ProfileSyncServiceFactory::GetInstance()->SetTestingFactoryAndUse( |
@@ -865,7 +865,7 @@ TEST_F(SyncSetupHandlerTest, ShowSigninOnAuthError) { |
GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS); |
SetupInitializedProfileSyncService(); |
- mock_signin_->SetAuthenticatedUsername(kTestUser); |
+ mock_signin_->SetAuthenticatedAccountInfo(kTestUser, kTestUser); |
FakeAuthStatusProvider provider( |
SigninErrorControllerFactory::GetForProfile(profile_.get())); |
provider.SetAuthError(kTestUser, kTestUser, error_); |