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

Unified Diff: third_party/mojo/src/mojo/public/dart/src/codec.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/codec.dart
diff --git a/third_party/mojo/src/mojo/public/dart/src/codec.dart b/third_party/mojo/src/mojo/public/dart/src/codec.dart
index d5f5b90bd83f6f39b18bd7cfd0035c5e0a6855d7..7ad8370bca4adc8ba0c6f2290d2fda5ea3f2068d 100644
--- a/third_party/mojo/src/mojo/public/dart/src/codec.dart
+++ b/third_party/mojo/src/mojo/public/dart/src/codec.dart
@@ -56,7 +56,7 @@ class Encoder {
Encoder._fromBuffer(_EncoderBuffer buffer) :
_buffer = buffer,
- _base = buffer.extent;
+ _base = buffer.extent;
Encoder getEncoderAtOffset(DataHeader dataHeader) {
var result = new Encoder._fromBuffer(_buffer);
@@ -154,7 +154,7 @@ class Encoder {
core.MojoSharedBuffer value, int offset, bool nullable) =>
encodeHandle(value != null ? value.handle : null, offset, nullable);
- void encodeInterface(Interface interface, int offset, bool nullable) {
+ void encodeInterface(Stub interface, int offset, bool nullable) {
if (interface == null) {
encodeInvalideHandle(offset, nullable);
return;
@@ -164,7 +164,7 @@ class Encoder {
encodeMessagePipeHandle(pipe.endpoints[1], offset, nullable);
}
- void encodeInterfaceRequest(Client client, int offset, bool nullable) {
+ void encodeInterfaceRequest(Proxy client, int offset, bool nullable) {
if (client == null) {
encodeInvalideHandle(offset, nullable);
return;
@@ -371,7 +371,7 @@ class Encoder {
value, offset, nullability, expectedLength);
void encodeInterfaceRequestArray(
- List<Client> value,
+ List<Proxy> value,
int offset,
int nullability,
int expectedLength) =>
@@ -380,7 +380,7 @@ class Encoder {
value, offset, nullability, expectedLength);
void encodeInterfaceArray(
- List<Interface> value,
+ List<Stub> value,
int offset,
int nullability,
int expectedLength) =>
@@ -507,13 +507,13 @@ class Decoder {
core.MojoSharedBuffer decodeSharedBufferHandle(int offset, bool nullable) =>
new core.MojoSharedBuffer(decodeHandle(offset, nullable));
- Client decodeServiceInterface(
+ Proxy decodeServiceInterface(
int offset, bool nullable, Function clientFactory) {
var endpoint = decodeMessagePipeHandle(offset, nullable);
return endpoint.handle.isValid ? clientFactory(endpoint) : null;
}
- Interface decodeInterfaceRequest(
+ Stub decodeInterfaceRequest(
int offset, bool nullable, Function interfaceFactory) {
var endpoint = decodeMessagePipeHandle(offset, nullable);
return endpoint.handle.isValid ? interfaceFactory(endpoint) : null;
@@ -699,7 +699,7 @@ class Decoder {
_handleArrayDecodeHelper((d, o, n) => d.decodeSharedBufferHandle(o, n),
offset, nullability, expectedLength);
- List<Interface> decodeInterfaceRequestArray(
+ List<Stub> decodeInterfaceRequestArray(
int offset,
int nullability,
int expectedLength,
@@ -708,7 +708,7 @@ class Decoder {
(d, o, n) => d.decodeInterfaceRequest(o, n, interfaceFactory),
offset, nullability, expectedLength);
- List<Client> decodeServiceInterfaceArray(
+ List<Proxy> decodeServiceInterfaceArray(
int offset,
int nullability,
int expectedLength,
« no previous file with comments | « third_party/mojo/src/mojo/public/dart/src/client.dart ('k') | third_party/mojo/src/mojo/public/dart/src/event_stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698