| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index 4b16440bcf874afb8f1f9ce748353d2e15527f13..684ed130f0c0234eb8acc16a4f5b2630c6bbf3cb 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -88,7 +88,7 @@
|
| #include "content/browser/mojo/constants.h"
|
| #include "content/browser/mojo/mojo_application_host.h"
|
| #include "content/browser/mojo/mojo_child_connection.h"
|
| -#include "content/browser/notifications/notification_message_filter.h"
|
| +#include "content/browser/notifications/platform_notification_context_impl.h"
|
| #include "content/browser/permissions/permission_service_context.h"
|
| #include "content/browser/permissions/permission_service_impl.h"
|
| #include "content/browser/profiler_message_filter.h"
|
| @@ -1018,11 +1018,6 @@ void RenderProcessHostImpl::CreateMessageFilters() {
|
| GetID(), storage_partition_impl_->GetQuotaManager(),
|
| GetContentClient()->browser()->CreateQuotaPermissionContext()));
|
|
|
| - notification_message_filter_ = new NotificationMessageFilter(
|
| - GetID(), storage_partition_impl_->GetPlatformNotificationContext(),
|
| - resource_context, browser_context);
|
| - AddFilter(notification_message_filter_.get());
|
| -
|
| AddFilter(new GamepadBrowserMessageFilter());
|
| AddFilter(new DeviceLightMessageFilter());
|
| AddFilter(new DeviceMotionMessageFilter());
|
| @@ -1068,6 +1063,11 @@ void RenderProcessHostImpl::RegisterMojoServices() {
|
| &BackgroundSyncContextImpl::CreateService,
|
| base::Unretained(storage_partition_impl_->GetBackgroundSyncContext())));
|
|
|
| + mojo_application_host_->service_registry()->AddService(base::Bind(
|
| + &PlatformNotificationContextImpl::CreateService,
|
| + base::Unretained(
|
| + storage_partition_impl_->GetPlatformNotificationContext())));
|
| +
|
| mojo_application_host_->service_registry()->AddService(
|
| base::Bind(&RenderProcessHostImpl::CreateStoragePartitionService,
|
| base::Unretained(this)));
|
|
|