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

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

Issue 959993002: Dart: Removes name conflicts from generated bindings. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Removes unused constructors 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
Index: mojo/public/dart/src/event_stream.dart
diff --git a/mojo/public/dart/src/event_stream.dart b/mojo/public/dart/src/event_stream.dart
index 1323934001f7d3894f52183b6a61e644c6bb8218..8f022acc93ffbb4b1b18f6d580b64cf15fae348e 100644
--- a/mojo/public/dart/src/event_stream.dart
+++ b/mojo/public/dart/src/event_stream.dart
@@ -4,7 +4,7 @@
part of core;
-class MojoEventStream extends Stream<int> {
+class MojoEventStream extends Stream<List<int>> {
// The underlying Mojo handle.
MojoHandle _handle;
@@ -127,7 +127,7 @@ abstract class Listener {
StreamSubscription<List<int>> listen({Function onClosed});
}
-class MojoEventStreamListener implements Listener {
+class MojoEventStreamListener {
MojoMessagePipeEndpoint _endpoint;
MojoEventStream _eventStream;
bool _isOpen = false;

Powered by Google App Engine
This is Rietveld 408576698