| 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 4061947e26511f2455ba2c8e414f46e0862b9dea..eee59d50c15421eb68834ba38c3c4dd6bfbf84f3 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"
|
| @@ -1026,11 +1026,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());
|
| @@ -1076,6 +1071,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()), GetID()));
|
| +
|
| mojo_application_host_->service_registry()->AddService(
|
| base::Bind(&RenderProcessHostImpl::CreateStoragePartitionService,
|
| base::Unretained(this)));
|
|
|