| Index: third_party/mojo/src/mojo/public/dart/src/proxy.dart
|
| diff --git a/third_party/mojo/src/mojo/public/dart/src/client.dart b/third_party/mojo/src/mojo/public/dart/src/proxy.dart
|
| similarity index 90%
|
| rename from third_party/mojo/src/mojo/public/dart/src/client.dart
|
| rename to third_party/mojo/src/mojo/public/dart/src/proxy.dart
|
| index f8ec73c00fcac32b75f151f63030b1c352669bbd..f662f3aeaf619e4bc97a8a51b4bd5fa6c8c0986a 100644
|
| --- a/third_party/mojo/src/mojo/public/dart/src/client.dart
|
| +++ b/third_party/mojo/src/mojo/public/dart/src/proxy.dart
|
| @@ -4,19 +4,19 @@
|
|
|
| part of bindings;
|
|
|
| -abstract class Client extends core.MojoEventStreamListener {
|
| +abstract class Proxy extends core.MojoEventStreamListener {
|
| Map<int, Completer> _completerMap;
|
| int _nextId = 0;
|
|
|
| - Client(core.MojoMessagePipeEndpoint endpoint) :
|
| + Proxy(core.MojoMessagePipeEndpoint endpoint) :
|
| _completerMap = {},
|
| super(endpoint);
|
|
|
| - Client.fromHandle(core.MojoHandle handle) :
|
| + Proxy.fromHandle(core.MojoHandle handle) :
|
| _completerMap = {},
|
| super.fromHandle(handle);
|
|
|
| - Client.unbound() :
|
| + Proxy.unbound() :
|
| _completerMap = {},
|
| super.unbound();
|
|
|
| @@ -37,7 +37,7 @@ abstract class Client extends core.MojoEventStreamListener {
|
| }
|
|
|
| void handleWrite() {
|
| - throw 'Unexpected write signal in client.';
|
| + throw 'Unexpected write signal in proxy.';
|
| }
|
|
|
| void sendMessage(Struct message, int name) {
|
|
|