diff options
Diffstat (limited to 'chrome/browser/invalidation/ticl_invalidation_service.cc')
-rw-r--r-- | chrome/browser/invalidation/ticl_invalidation_service.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/invalidation/ticl_invalidation_service.cc b/chrome/browser/invalidation/ticl_invalidation_service.cc index 8db9111..3eecec9 100644 --- a/chrome/browser/invalidation/ticl_invalidation_service.cc +++ b/chrome/browser/invalidation/ticl_invalidation_service.cc @@ -12,6 +12,7 @@ #include "chrome/browser/profiles/profile.h" #include "chrome/browser/services/gcm/gcm_profile_service.h" #include "chrome/browser/services/gcm/gcm_profile_service_factory.h" +#include "chrome/browser/services/gcm/gcm_service.h" #include "chrome/common/chrome_content_client.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/pref_names.h" @@ -394,10 +395,10 @@ void TiclInvalidationService::StartInvalidator( break; } case GCM_NETWORK_CHANNEL: { - gcm::GCMProfileService* gcm_profile_service = + gcm::GCMService* gcm_service = gcm::GCMProfileServiceFactory::GetForProfile(profile_); gcm_invalidation_bridge_.reset(new GCMInvalidationBridge( - gcm_profile_service, identity_provider_.get())); + gcm_service, identity_provider_.get())); network_channel_creator = syncer::NonBlockingInvalidator::MakeGCMNetworkChannelCreator( request_context_, |