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 Proxy extends core.MojoEventStreamListener { | 7 abstract class Proxy extends core.MojoEventStreamListener { |
8 Map<int, Completer> _completerMap; | 8 Map<int, Completer> _completerMap; |
9 int _nextId = 0; | 9 int _nextId = 0; |
10 | 10 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 Map<int, Completer> get completerMap => _completerMap; | 78 Map<int, Completer> get completerMap => _completerMap; |
79 | 79 |
80 String toString() { | 80 String toString() { |
81 var superString = super.toString(); | 81 var superString = super.toString(); |
82 return "Proxy(${superString})"; | 82 return "Proxy(${superString})"; |
83 } | 83 } |
84 } | 84 } |
85 | 85 |
86 // Generated Proxy classes implement this interface. | 86 // Generated Proxy classes implement this interface. |
87 abstract class ProxyBase { | 87 abstract class ProxyBase { |
88 final Proxy impl; | 88 final Proxy impl = null; |
89 final String name; | 89 final String name = null; |
90 } | 90 } |
OLD | NEW |