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

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

Issue 2643063002: Refactor Blink's ServiceConnector and add ability to mock in layout tests (Closed)
Patch Set: Rebase Created 3 years, 11 months 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 d623c5a5d6fa57cb244877de947a0c4d7fd83b0a..5e74dbd9dfccd1a84e28d32d6d3335ad22590ede 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -70,6 +70,7 @@ class Local;
namespace blink {
+class Connector;
class InterfaceProvider;
class WebAudioBus;
class WebBlobRegistry;
@@ -590,16 +591,9 @@ class BLINK_PLATFORM_EXPORT Platform {
// Mojo ---------------------------------------------------------------
- virtual InterfaceProvider* interfaceProvider();
+ virtual Connector* connector();
- // 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);
+ virtual InterfaceProvider* interfaceProvider();
// Platform events -----------------------------------------------------
// Device Orientation, Device Motion, Device Light, Battery, Gamepad.

Powered by Google App Engine
This is Rietveld 408576698