Index: chrome/browser/sync/profile_sync_service_session_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_service_session_unittest.cc b/chrome/browser/sync/profile_sync_service_session_unittest.cc |
index 3a4ed322161fc6eb9d573d5e23c832b18877a5d8..a0684cf6b41bb2ca0a5bfec5f3407ee877688667 100644 |
--- a/chrome/browser/sync/profile_sync_service_session_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_session_unittest.cc |
@@ -20,6 +20,7 @@ |
#include "chrome/browser/invalidation/invalidation_service_factory.h" |
#include "chrome/browser/sessions/session_tab_helper.h" |
#include "chrome/browser/signin/fake_profile_oauth2_token_service.h" |
+#include "chrome/browser/signin/fake_profile_oauth2_token_service_wrapper.h" |
#include "chrome/browser/signin/profile_oauth2_token_service.h" |
#include "chrome/browser/signin/profile_oauth2_token_service_factory.h" |
#include "chrome/browser/signin/signin_manager.h" |
@@ -137,7 +138,7 @@ class ProfileSyncServiceSessionTest |
TestingProfile::Builder builder; |
builder.AddTestingFactory( |
ProfileOAuth2TokenServiceFactory::GetInstance(), |
- FakeProfileOAuth2TokenService::BuildAutoIssuingTokenService); |
+ FakeProfileOAuth2TokenServiceWrapper::BuildAutoIssuingTokenService); |
// Don't want the profile to create a real ProfileSyncService. |
builder.AddTestingFactory(ProfileSyncServiceFactory::GetInstance(), NULL); |
scoped_ptr<TestingProfile> profile(builder.Build()); |