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

Unified Diff: mojo/dart/embedder/test/dart_to_cpp_tests.dart

Issue 800523004: Dart: Simplifies the handle watcher. Various cleanups and bugfixes. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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: mojo/dart/embedder/test/dart_to_cpp_tests.dart
diff --git a/mojo/dart/embedder/test/dart_to_cpp_tests.dart b/mojo/dart/embedder/test/dart_to_cpp_tests.dart
index 5f4af6613e2e5ed9b2bb5051c5b22d5e46ffbbdf..f71b26bdf2ddc015b786a0f629f384d8528a1538 100644
--- a/mojo/dart/embedder/test/dart_to_cpp_tests.dart
+++ b/mojo/dart/embedder/test/dart_to_cpp_tests.dart
@@ -39,14 +39,12 @@ class DartSide extends DartSideInterface {
});
}
- void ping(params) {
+ void ping() {
callPingResponse();
_completer.complete(null);
}
- void echo(params) {
- int numIterations = params.numIterations;
- EchoArgs arg = params.arg;
+ void echo(int numIterations, EchoArgs arg) {
if (arg.si64 > 0) {
arg.si64 = BAD_VALUE;
}

Powered by Google App Engine
This is Rietveld 408576698