| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index ed645b7e33d2f630a43fce3490ba5c6d0ce81cfc..8f19f0cd05ed899807596ff6412cb6885497e2b0 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -66,6 +66,8 @@
|
| #include "chrome/browser/profiles/profile_metrics.h"
|
| #include "chrome/browser/safe_browsing/safe_browsing_service.h"
|
| #include "chrome/browser/search_engines/template_url_fetcher.h"
|
| +#include "chrome/browser/services/gcm/gcm_permission_context.h"
|
| +#include "chrome/browser/services/gcm/gcm_permission_context_factory.h"
|
| #include "chrome/browser/services/gcm/gcm_profile_service.h"
|
| #include "chrome/browser/services/gcm/gcm_profile_service_factory.h"
|
| #include "chrome/browser/sessions/session_service_factory.h"
|
| @@ -1044,6 +1046,10 @@ content::PushMessagingService* ProfileImpl::GetPushMessagingService() {
|
| this)->push_messaging_service();
|
| }
|
|
|
| +gcm::GCMPermissionContext* ProfileImpl::GetPushMessagingPermissionContext() {
|
| + return gcm::GCMPermissionContextFactory::GetForProfile(this);
|
| +}
|
| +
|
| bool ProfileImpl::IsSameProfile(Profile* profile) {
|
| if (profile == static_cast<Profile*>(this))
|
| return true;
|
|
|