OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 part of bindings; | 5 part of bindings; |
6 | 6 |
7 abstract class Stub extends core.MojoEventStreamListener { | 7 abstract class Stub extends core.MojoEventStreamListener { |
8 int _outstandingResponseFutures = 0; | 8 int _outstandingResponseFutures = 0; |
9 bool _isClosing = false; | 9 bool _isClosing = false; |
10 Completer _closeCompleter; | 10 Completer _closeCompleter; |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 return response.serializeWithHeader(header); | 121 return response.serializeWithHeader(header); |
122 } | 122 } |
123 | 123 |
124 String toString() { | 124 String toString() { |
125 var superString = super.toString(); | 125 var superString = super.toString(); |
126 return "Stub(${superString})"; | 126 return "Stub(${superString})"; |
127 } | 127 } |
128 | 128 |
129 int get version; | 129 int get version; |
130 } | 130 } |
OLD | NEW |