Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index d45f9089a43d61b2a27178891a44182421bf75ea..32849296a5fa3646303eb1b01383832ec7245889 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/services/gcm/push_messaging_service_impl.h" |
@@ -1030,6 +1032,10 @@ content::PushMessagingService* ProfileImpl::GetPushMessagingService() { |
this)->push_messaging_service(); |
} |
+gcm::GCMPermissionContext* ProfileImpl::GetPushMessagingPermissionContext() { |
+ return gcm::GCMPermissionContextFactory::GetForProfile(this); |
Elliot Glaysher
2014/06/19 18:07:14
Is there a reason you're adding more methods to th
Miguel Garcia
2014/06/19 21:49:22
Not really, mainly because that's what the midi an
|
+} |
+ |
bool ProfileImpl::IsSameProfile(Profile* profile) { |
if (profile == static_cast<Profile*>(this)) |
return true; |