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

Unified Diff: mojo/dart/test/bindings_generation_test.dart

Issue 800523004: Dart: Simplifies the handle watcher. Various cleanups and bugfixes. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: cleanup Created 5 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
« no previous file with comments | « mojo/dart/embedder/test/dart_to_cpp_tests.dart ('k') | mojo/dart/test/codec_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/dart/test/bindings_generation_test.dart
diff --git a/mojo/dart/test/bindings_generation_test.dart b/mojo/dart/test/bindings_generation_test.dart
index e2cefb345c597b1891b6deb4580575e453c44793..c322271c26a9e94c5d41fbec03d32ad17426784d 100644
--- a/mojo/dart/test/bindings_generation_test.dart
+++ b/mojo/dart/test/bindings_generation_test.dart
@@ -18,26 +18,26 @@ class ProviderImpl extends sample.ProviderInterface {
echoString(String a) {
var response = new sample.Provider_EchoString_ResponseParams();
response.a = a;
- return response;
+ return new Future.value(response);
}
echoStrings(String a, String b) {
var response = new sample.Provider_EchoStrings_ResponseParams();
response.a = a;
response.b = b;
- return response;
+ return new Future.value(response);
}
- echoMessagePipeHanlde(core.RawMojoHandle a) {
+ echoMessagePipeHanlde(core.MojoHandle a) {
var response = new sample.Provider_EchoMessagePipeHandle_ResponseParams();
response.a = a;
- return response;
+ return new Future.value(response);
}
echoEnum(int a) {
var response = new sample.Provider_EchoEnum_ResponseParams();
response.a = a;
- return response;
+ return new Future.value(response);
}
}
« no previous file with comments | « mojo/dart/embedder/test/dart_to_cpp_tests.dart ('k') | mojo/dart/test/codec_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698