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

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: Fix build Created 3 years, 9 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
« no previous file with comments | « third_party/WebKit/public/platform/Connector.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c65365fbcb33b1ec6c618df7ff6173fa026f9a5e..3fdfffe5a472e68113a8ab0d99787c3bc5d03b89 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -71,6 +71,7 @@ class Local;
namespace blink {
+class Connector;
class InterfaceProvider;
class WebAudioBus;
class WebAudioLatencyHint;
@@ -599,16 +600,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.
« no previous file with comments | « third_party/WebKit/public/platform/Connector.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698