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

Unified Diff: mojo/public/dart/src/proxy.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
« no previous file with comments | « mojo/public/dart/src/event_stream.dart ('k') | mojo/public/dart/src/stub.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/dart/src/proxy.dart
diff --git a/mojo/public/dart/src/proxy.dart b/mojo/public/dart/src/proxy.dart
index 9002b238197f2a6caae324863a6a90547d291c70..4487492a83bdae2c455feee9069a6008a8e61733 100644
--- a/mojo/public/dart/src/proxy.dart
+++ b/mojo/public/dart/src/proxy.dart
@@ -8,15 +8,13 @@ abstract class Proxy extends core.MojoEventStreamListener {
Map<int, Completer> _completerMap;
int _nextId = 0;
- Proxy.fromEndpoint(core.MojoMessagePipeEndpoint endpoint,
- {bool doListen: true, Function onClosed})
+ Proxy.fromEndpoint(core.MojoMessagePipeEndpoint endpoint)
: _completerMap = {},
- super.fromEndpoint(endpoint, doListen: doListen, onClosed: onClosed);
+ super.fromEndpoint(endpoint);
- Proxy.fromHandle(core.MojoHandle handle,
- {bool doListen: true, Function onClosed})
+ Proxy.fromHandle(core.MojoHandle handle)
: _completerMap = {},
- super.fromHandle(handle, doListen: doListen, onClosed: onClosed);
+ super.fromHandle(handle);
Proxy.unbound()
: _completerMap = {},
« no previous file with comments | « mojo/public/dart/src/event_stream.dart ('k') | mojo/public/dart/src/stub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698