| Index: chrome/browser/sync/profile_sync_service_unittest.cc
|
| diff --git a/chrome/browser/sync/profile_sync_service_unittest.cc b/chrome/browser/sync/profile_sync_service_unittest.cc
|
| index 15ccc3b3fb86d2f0df9d441ac7212b234a2b56be..2a09da1c181d4961e8f3aa5cfcc80b1ea44a18d6 100644
|
| --- a/chrome/browser/sync/profile_sync_service_unittest.cc
|
| +++ b/chrome/browser/sync/profile_sync_service_unittest.cc
|
| @@ -127,12 +127,12 @@ class ProfileSyncServiceTestHarness {
|
| }
|
|
|
| void IssueTestTokens() {
|
| + ProfileOAuth2TokenServiceFactory::GetInstance()->SetTestingFactory(
|
| + profile.get(), FakeOAuth2TokenService::BuildTokenService);
|
| TokenService* token_service =
|
| TokenServiceFactory::GetForProfile(profile.get());
|
| token_service->IssueAuthTokenForTest(
|
| - GaiaConstants::kSyncService, "token1");
|
| - token_service->IssueAuthTokenForTest(
|
| - GaiaConstants::kGaiaOAuth2LoginRefreshToken, "token2");
|
| + GaiaConstants::kGaiaOAuth2LoginRefreshToken, "oauth2_login_token");
|
| }
|
|
|
| scoped_ptr<TestProfileSyncService> service;
|
|
|