| 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 d066413d9d499a1176d53bfd48e8073c46a25163..554fbd3c941ff47ba7e14a1d12bda0c9afd08ef6 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();
|
|
|