Index: content/child/blink_platform_impl.cc |
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc |
index 46fba8446e0872bd8e5907db289569e7b8d0fde0..61d50e7af93cc00fba6f9b3df89619e9a9d75b2d 100644 |
--- a/content/child/blink_platform_impl.cc |
+++ b/content/child/blink_platform_impl.cc |
@@ -34,6 +34,7 @@ |
#include "content/child/child_thread.h" |
#include "content/child/content_child_helpers.h" |
#include "content/child/geofencing/web_geofencing_provider_impl.h" |
+#include "content/child/navigator_connect/navigator_connect_provider.h" |
#include "content/child/notifications/notification_dispatcher.h" |
#include "content/child/notifications/notification_manager.h" |
#include "content/child/push_messaging/push_dispatcher.h" |
@@ -1080,6 +1081,15 @@ blink::WebPushProvider* BlinkPlatformImpl::pushProvider() { |
push_dispatcher_.get()); |
} |
+blink::WebNavigatorConnectProvider* |
+BlinkPlatformImpl::navigatorConnectProvider() { |
+ if (!thread_safe_sender_.get()) |
+ return nullptr; |
+ |
+ return NavigatorConnectProvider::ThreadSpecificInstance( |
+ thread_safe_sender_.get(), main_thread_task_runner_); |
+} |
+ |
WebThemeEngine* BlinkPlatformImpl::themeEngine() { |
return &native_theme_engine_; |
} |