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

Unified Diff: sky/framework/shell.dart

Issue 934253003: Dart Bindings: ApplicationConnection (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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: sky/framework/shell.dart
diff --git a/sky/framework/shell.dart b/sky/framework/shell.dart
index a3d39e409f8f0ff8c147626dc74e323561c59e10..41ef152993127de1af7d0c93b901bd8bcc925e51 100644
--- a/sky/framework/shell.dart
+++ b/sky/framework/shell.dart
@@ -14,10 +14,11 @@ final ShellProxy _shell = new ShellProxy.fromHandle(
ApplicationConnection connectToApplication(String url) {
var serviceProviderProxy = new ServiceProviderProxy.unbound();
- _shell.connectToApplication(url, serviceProviderProxy, null);
- return new ApplicationConnection(serviceProviderProxy);
+ var serviceProviderStub = new ServiceProviderStub.unbound();
+ _shell.connectToApplication(url, serviceProviderProxy, serviceProviderStub);
+ return new ApplicationConnection(serviceProviderStub, serviceProviderProxy);
}
void connectToService(String url, bindings.Proxy proxy) {
- connectToApplication(url).connectToService(proxy);
+ connectToApplication(url).requestService(proxy);
}
« mojo/public/dart/src/application_connection.dart ('K') | « sky/engine/bindings/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698