| 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 fd62744eaa83e8d54cb768399ebe3c1c349f29f4..b8fd5d7dab6726fcd43a308e06e3c7aeb6d2e467 100644
|
| --- a/chrome/browser/sync/profile_sync_service_password_unittest.cc
|
| +++ b/chrome/browser/sync/profile_sync_service_password_unittest.cc
|
| @@ -189,6 +189,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*>(
|
| @@ -225,6 +227,8 @@ class ProfileSyncServicePasswordTest : public AbstractProfileSyncServiceTest {
|
|
|
| // We need tokens to get the tests going
|
| token_service_->IssueAuthTokenForTest(
|
| + GaiaConstants::kGaiaOAuth2LoginRefreshToken, "oauth2_login_token");
|
| + token_service_->IssueAuthTokenForTest(
|
| GaiaConstants::kSyncService, "token");
|
|
|
| sync_service_->RegisterDataTypeController(data_type_controller);
|
|
|