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

Unified Diff: mojo/public/dart/src/stub.dart

Issue 982673002: Dart: Removes need to call listen(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Merge and Format Created 5 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
Index: mojo/public/dart/src/stub.dart
diff --git a/mojo/public/dart/src/stub.dart b/mojo/public/dart/src/stub.dart
index c5c931d0672fb80ed55f179f7faf01e2dd61049d..eb926a518eabaceaff47e7e56c54f6c1eb990912 100644
--- a/mojo/public/dart/src/stub.dart
+++ b/mojo/public/dart/src/stub.dart
@@ -8,13 +8,10 @@ abstract class Stub extends core.MojoEventStreamListener {
int _outstandingResponseFutures = 0;
bool _isClosing = false;
- Stub.fromEndpoint(core.MojoMessagePipeEndpoint endpoint,
- {bool doListen: true, Function onClosed})
- : super.fromEndpoint(endpoint, doListen: doListen, onClosed: onClosed);
+ Stub.fromEndpoint(core.MojoMessagePipeEndpoint endpoint)
+ : super.fromEndpoint(endpoint);
- Stub.fromHandle(core.MojoHandle handle,
- {bool doListen: true, Function onClosed})
- : super.fromHandle(handle, doListen: doListen, onClosed: onClosed);
+ Stub.fromHandle(core.MojoHandle handle) : super.fromHandle(handle);
Stub.unbound() : super.unbound();
« no previous file with comments | « mojo/public/dart/src/proxy.dart ('k') | mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698