| 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 0d1095282a323e60be5fe055ee34e045050714dd..d9fdfbbe597115df97a06462be86a2f2e8a4e8ba 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*>(
|
| @@ -243,7 +245,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();
|
|
|