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

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

Issue 883843002: Update mojo sdk to rev 126532ce21c5c3c55a1e1693731411cb60169efd (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review 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/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) {

Powered by Google App Engine
This is Rietveld 408576698