Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 05bd533d4a6ece678fe3d1b9d5096a95360bb7e8..ae8aa8af3a89777be73941db9502be50c05e0bc2 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -60,10 +60,10 @@ |
#include "chrome/browser/profiles/profile_info_cache.h" |
#include "chrome/browser/profiles/profile_manager.h" |
#include "chrome/browser/profiles/profile_metrics.h" |
+#include "chrome/browser/push_messaging/push_messaging_service_factory.h" |
+#include "chrome/browser/push_messaging/push_messaging_service_impl.h" |
#include "chrome/browser/safe_browsing/safe_browsing_service.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/push_messaging_service_impl.h" |
#include "chrome/browser/sessions/session_service_factory.h" |
#include "chrome/browser/signin/signin_manager_factory.h" |
#include "chrome/browser/signin/signin_ui_util.h" |
@@ -691,7 +691,7 @@ void ProfileImpl::DoFinalInit() { |
model->AddObserver(new BookmarkModelLoadedObserver(this)); |
#endif |
- gcm::PushMessagingServiceImpl::InitializeForProfile(this); |
+ PushMessagingServiceImpl::InitializeForProfile(this); |
#if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) && !defined(OS_IOS) |
signin_ui_util::InitializePrefsForProfile(this); |
@@ -1066,8 +1066,7 @@ storage::SpecialStoragePolicy* ProfileImpl::GetSpecialStoragePolicy() { |
} |
content::PushMessagingService* ProfileImpl::GetPushMessagingService() { |
- return gcm::GCMProfileServiceFactory::GetForProfile( |
- this)->push_messaging_service(); |
+ return PushMessagingServiceFactory::GetForProfile(this); |
} |
content::SSLHostStateDelegate* ProfileImpl::GetSSLHostStateDelegate() { |