| Index: third_party/mojo/src/mojo/public/dart/src/stub.dart
|
| diff --git a/third_party/mojo/src/mojo/public/dart/src/interface.dart b/third_party/mojo/src/mojo/public/dart/src/stub.dart
|
| similarity index 91%
|
| rename from third_party/mojo/src/mojo/public/dart/src/interface.dart
|
| rename to third_party/mojo/src/mojo/public/dart/src/stub.dart
|
| index 0e73214505018c03387ec75de810063470aff139..56e8d20b62ef73c57cf48d68248f678976523456 100644
|
| --- a/third_party/mojo/src/mojo/public/dart/src/interface.dart
|
| +++ b/third_party/mojo/src/mojo/public/dart/src/stub.dart
|
| @@ -4,15 +4,15 @@
|
|
|
| part of bindings;
|
|
|
| -abstract class Interface extends core.MojoEventStreamListener {
|
| +abstract class Stub extends core.MojoEventStreamListener {
|
| int _outstandingResponseFutures = 0;
|
| bool _isClosing = false;
|
|
|
| - Interface(core.MojoMessagePipeEndpoint endpoint) : super(endpoint);
|
| + Stub(core.MojoMessagePipeEndpoint endpoint) : super(endpoint);
|
|
|
| - Interface.fromHandle(core.MojoHandle handle) : super.fromHandle(handle);
|
| + Stub.fromHandle(core.MojoHandle handle) : super.fromHandle(handle);
|
|
|
| - Interface.unbound() : super.unbound();
|
| + Stub.unbound() : super.unbound();
|
|
|
| Future<Message> handleMessage(ServiceMessage message);
|
|
|
| @@ -98,6 +98,6 @@ abstract class Interface extends core.MojoEventStreamListener {
|
| }
|
|
|
| Future sendMessageWithRequestId(Struct response, int name, int id) {
|
| - throw "The client interface should not expect a response";
|
| + throw "The client stub should not expect a response";
|
| }
|
| }
|
|
|