Index: chrome/browser/sync/test_profile_sync_service.cc |
diff --git a/chrome/browser/sync/test_profile_sync_service.cc b/chrome/browser/sync/test_profile_sync_service.cc |
index dac4a1f5f97890fbdfc5163f541e9c663f212fc9..3ea90557a47e3847a48cdcd2e60217f7e8042794 100644 |
--- a/chrome/browser/sync/test_profile_sync_service.cc |
+++ b/chrome/browser/sync/test_profile_sync_service.cc |
@@ -5,7 +5,7 @@ |
#include "chrome/browser/sync/test_profile_sync_service.h" |
#include "chrome/browser/chrome_notification_types.h" |
-#include "chrome/browser/invalidation/invalidation_service_factory.h" |
+#include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/signin/profile_oauth2_token_service_factory.h" |
#include "chrome/browser/signin/signin_manager_factory.h" |
@@ -16,6 +16,7 @@ |
#include "chrome/browser/sync/profile_sync_components_factory_mock.h" |
#include "chrome/browser/sync/profile_sync_service_factory.h" |
#include "chrome/browser/sync/test/test_http_bridge_factory.h" |
+#include "components/invalidation/profile_invalidation_provider.h" |
#include "components/signin/core/browser/signin_manager.h" |
#include "sync/internal_api/public/test/sync_manager_factory_for_profile_sync_test.h" |
#include "sync/internal_api/public/test/test_internal_components_factory.h" |
@@ -148,7 +149,8 @@ TestProfileSyncService* TestProfileSyncService::BuildAutoStartAsyncInit( |
WillOnce(testing::Return( |
new browser_sync::SyncBackendHostForProfileSyncTest( |
profile, |
- invalidation::InvalidationServiceFactory::GetForProfile(profile), |
+ invalidation::ProfileInvalidationProviderFactory::GetForProfile( |
+ profile)->GetInvalidationService(), |
sync_service->sync_prefs_.AsWeakPtr(), |
callback))); |
return sync_service; |