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

Unified Diff: third_party/mojo/src/mojo/public/dart/src/stub.dart

Issue 883843002: Update mojo sdk to rev 126532ce21c5c3c55a1e1693731411cb60169efd (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes to adapt to roll Created 5 years, 11 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: 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";
}
}

Powered by Google App Engine
This is Rietveld 408576698