| Index: chrome/browser/sync/profile_sync_service_password_unittest.cc
|
| diff --git a/chrome/browser/sync/profile_sync_service_password_unittest.cc b/chrome/browser/sync/profile_sync_service_password_unittest.cc
|
| index a5fd446b97901b2178bf2313bf3235cf707c53d4..75a0178a3d30d99dde70db279dfe30968a2ac9a3 100644
|
| --- a/chrome/browser/sync/profile_sync_service_password_unittest.cc
|
| +++ b/chrome/browser/sync/profile_sync_service_password_unittest.cc
|
| @@ -207,6 +207,8 @@ class ProfileSyncServicePasswordTest : public AbstractProfileSyncServiceTest {
|
| token_service_ = static_cast<TokenService*>(
|
| TokenServiceFactory::GetInstance()->SetTestingFactoryAndUse(
|
| &profile_, BuildTokenService));
|
| + ProfileOAuth2TokenServiceFactory::GetInstance()->SetTestingFactory(
|
| + &profile_, FakeOAuth2TokenService::BuildTokenService);
|
|
|
| PasswordTestProfileSyncService* sync =
|
| static_cast<PasswordTestProfileSyncService*>(
|
| @@ -244,7 +246,7 @@ class ProfileSyncServicePasswordTest : public AbstractProfileSyncServiceTest {
|
|
|
| // We need tokens to get the tests going
|
| token_service_->IssueAuthTokenForTest(
|
| - GaiaConstants::kSyncService, "token");
|
| + GaiaConstants::kGaiaOAuth2LoginRefreshToken, "oauth2_login_token");
|
|
|
| sync_service_->RegisterDataTypeController(data_type_controller);
|
| sync_service_->Initialize();
|
|
|