Index: content/child/blink_platform_impl.cc |
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc |
index c080247586fd2b2abb3311a887389aad6461bfec..e554ee2499662a2125d557a0649ade95153ed476 100644 |
--- a/content/child/blink_platform_impl.cc |
+++ b/content/child/blink_platform_impl.cc |
@@ -36,6 +36,7 @@ |
#include "content/child/geofencing/web_geofencing_provider_impl.h" |
#include "content/child/notifications/notification_dispatcher.h" |
#include "content/child/notifications/notification_manager.h" |
+#include "content/child/service_worker/navigator_connect_provider.h" |
#include "content/child/push_messaging/push_dispatcher.h" |
#include "content/child/push_messaging/push_provider.h" |
#include "content/child/thread_safe_sender.h" |
@@ -1077,6 +1078,14 @@ blink::WebPushProvider* BlinkPlatformImpl::pushProvider() { |
push_dispatcher_.get()); |
} |
+void BlinkPlatformImpl::connectToUrl( |
+ const WebURL& targetUrl, |
+ blink::WebMessagePortChannel* port, |
+ blink::WebCallbacks<void, blink::WebString>* callbacks) { |
+ NavigatorConnectProvider::ThreadSpecificInstance(thread_safe_sender_.get()) |
+ ->ConnectToUrl(targetUrl, port, callbacks); |
+} |
+ |
WebThemeEngine* BlinkPlatformImpl::themeEngine() { |
return &native_theme_engine_; |
} |