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

Unified Diff: services/dart/test/pingpong_target/main.dart

Issue 934253003: Dart Bindings: ApplicationConnection (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Changes per review feedback 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
« no previous file with comments | « services/dart/test/pingpong/main.dart ('k') | sky/engine/bindings/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/dart/test/pingpong_target/main.dart
diff --git a/services/dart/test/pingpong_target/main.dart b/services/dart/test/pingpong_target/main.dart
index 56c219c782ad931574c304ad21bffe0a7ee8517b..ba6e2b43ba8e073c3326a3c6f55a6f2b3f7ab685 100644
--- a/services/dart/test/pingpong_target/main.dart
+++ b/services/dart/test/pingpong_target/main.dart
@@ -39,10 +39,10 @@ class PingPongServiceImpl extends PingPongService {
class PingPongApplication extends Application {
PingPongApplication.fromHandle(MojoHandle handle) : super.fromHandle(handle);
- void acceptConnection(String requestorUrl, ServiceProvider serviceProvider) {
- serviceProvider.registerFactory(PingPongService.name,
+ void acceptConnection(String requestorUrl, ApplicationConnection connection) {
+ connection.provideService(PingPongService.name,
(endpoint) => new PingPongServiceImpl(this, endpoint));
- serviceProvider.listen();
+ connection.listen();
}
}
« no previous file with comments | « services/dart/test/pingpong/main.dart ('k') | sky/engine/bindings/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698