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

Unified Diff: third_party/WebKit/public/platform/Platform.h

Issue 2460723003: Enable connection to Mojo services from Blink (Closed)
Patch Set: Self-review Created 4 years, 1 month 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: 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 e8e786ffcf145627955cdb4bc791ca4cebfaca5c..a1eacdd829642c90fac6fafab20fd60aedb784e1 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 "services/service_manager/public/interfaces/connector.mojom-blink.h"
class GrContext;
@@ -608,6 +609,8 @@ class BLINK_PLATFORM_EXPORT Platform {
virtual InterfaceProvider* interfaceProvider();
+ virtual service_manager::mojom::blink::ConnectorPtr serviceConnector();
+
// Platform events -----------------------------------------------------
// Device Orientation, Device Motion, Device Light, Battery, Gamepad.

Powered by Google App Engine
This is Rietveld 408576698