Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(733)

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 785133006: Enable messaging over a navigator.connect initiated channel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@navigator-connect_serviceside
Patch Set: add empty line Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 c36155628cbb5c627055b6037ca7279e3f8c8e97..c88ed83f1d7e210487e50abb7861b12459a0683c 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -67,6 +67,7 @@
#include "content/browser/message_port_message_filter.h"
#include "content/browser/mime_registry_message_filter.h"
#include "content/browser/mojo/mojo_application_host.h"
+#include "content/browser/navigator_connect/navigator_connect_context.h"
#include "content/browser/navigator_connect/navigator_connect_dispatcher_host.h"
#include "content/browser/notifications/notification_message_filter.h"
#include "content/browser/permissions/permission_service_context.h"
@@ -888,7 +889,8 @@ void RenderProcessHostImpl::CreateMessageFilters() {
AddFilter(new GeofencingDispatcherHost(
storage_partition_impl_->GetGeofencingManager()));
AddFilter(new NavigatorConnectDispatcherHost(
- storage_partition_impl_->GetServiceWorkerContext()));
+ storage_partition_impl_->GetServiceWorkerContext(),
+ storage_partition_impl_->GetNavigatorConnectContext()));
if (browser_command_line.HasSwitch(
switches::kEnableExperimentalWebPlatformFeatures))
AddFilter(new BluetoothDispatcherHost());

Powered by Google App Engine
This is Rietveld 408576698