Index: chrome/browser/sync/sync_ui_util_unittest.cc |
diff --git a/chrome/browser/sync/sync_ui_util_unittest.cc b/chrome/browser/sync/sync_ui_util_unittest.cc |
index f84856a87305f6ddeb1960f2caad3a88446099de..88028bd126288a6d1f1c7509b75e44a946fc4a36 100644 |
--- a/chrome/browser/sync/sync_ui_util_unittest.cc |
+++ b/chrome/browser/sync/sync_ui_util_unittest.cc |
@@ -339,7 +339,7 @@ TEST_F(SyncUIUtilTest, DistinctCasesReportUniqueMessageSets) { |
GoogleServiceAuthError error = GoogleServiceAuthError::AuthErrorNone(); |
EXPECT_CALL(service, GetAuthError()).WillRepeatedly(ReturnRef(error)); |
FakeSigninManagerForSyncUIUtilTest signin(profile.get()); |
- signin.SetAuthenticatedUsername(kTestUser); |
+ signin.SetAuthenticatedAccountInfo(kTestUser, kTestUser); |
Nicolas Zea
2015/04/10 20:15:28
use a kTestUserId instead? (here and below)
Roger Tawa OOO till Jul 10th
2015/04/11 00:23:08
Done.
|
scoped_ptr<FakeAuthStatusProvider> provider(new FakeAuthStatusProvider( |
SigninErrorControllerFactory::GetForProfile(profile.get()))); |
GetDistinctCase(service, &signin, provider.get(), idx); |
@@ -378,7 +378,7 @@ TEST_F(SyncUIUtilTest, HtmlNotIncludedInStatusIfNotRequested) { |
GoogleServiceAuthError error = GoogleServiceAuthError::AuthErrorNone(); |
EXPECT_CALL(service, GetAuthError()).WillRepeatedly(ReturnRef(error)); |
FakeSigninManagerForSyncUIUtilTest signin(profile.get()); |
- signin.SetAuthenticatedUsername(kTestUser); |
+ signin.SetAuthenticatedAccountInfo(kTestUser, kTestUser); |
scoped_ptr<FakeAuthStatusProvider> provider(new FakeAuthStatusProvider( |
SigninErrorControllerFactory::GetForProfile(profile.get()))); |
GetDistinctCase(service, &signin, provider.get(), idx); |