Index: third_party/WebKit/public/platform/Platform.h |
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h |
index 0aae60e68528300de39cfb17beac6974bd72cc28..fce5664099199ddecb2f2cff594aa94207c7000a 100644 |
--- a/third_party/WebKit/public/platform/Platform.h |
+++ b/third_party/WebKit/public/platform/Platform.h |
@@ -56,6 +56,7 @@ |
#include "base/metrics/user_metrics_action.h" |
#include "cc/resources/shared_bitmap.h" |
#include "cc/surfaces/frame_sink_id.h" |
+#include "mojo/public/cpp/system/message_pipe.h" |
namespace gpu { |
class GpuMemoryBufferManager; |
@@ -590,6 +591,15 @@ class BLINK_PLATFORM_EXPORT Platform { |
virtual InterfaceProvider* interfaceProvider(); |
+ // Sets up a connection to the ServiceManager by binding |remoteHandle| to a |
+ // remote implementation of |
+ // //service_manager/public/interfaces/connector.mojom. Using this connection |
+ // the caller can then request connections to other services. |
+ // NOTE: This handle is not strongly typed because neither the Blink nor |
+ // Chromium types generated from connector.mojom should leak across the |
+ // Blink-Chromium boundary. |
+ virtual void bindServiceConnector(mojo::ScopedMessagePipeHandle remoteHandle); |
+ |
// Platform events ----------------------------------------------------- |
// Device Orientation, Device Motion, Device Light, Battery, Gamepad. |