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

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

Issue 1127293003: Update mojo sdk to rev f84766d3b6420b7cf6a113d9d65d73cb5fe18d90 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: formatting Created 5 years, 7 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/message.dart
diff --git a/third_party/mojo/src/mojo/public/dart/src/message.dart b/third_party/mojo/src/mojo/public/dart/src/message.dart
index 3cfe2fbdc30fb73b2dbd5522a67927df6fc933bb..559c345410ba8a5959d41bf1c71635011b1ca4bd 100644
--- a/third_party/mojo/src/mojo/public/dart/src/message.dart
+++ b/third_party/mojo/src/mojo/public/dart/src/message.dart
@@ -6,13 +6,9 @@ part of bindings;
class MessageHeader {
static const int kSimpleMessageSize = 16;
- // TODO(yzshen): In order to work with other bindings which still interprets
- // the |version| field as |num_fields|, set it to version 2 for now.
- static const int kSimpleMessageVersion = 2;
+ static const int kSimpleMessageVersion = 0;
static const int kMessageWithRequestIdSize = 24;
- // TODO(yzshen): In order to work with other bindings which still interprets
- // the |version| field as |num_fields|, set it to version 3 for now.
- static const int kMessageWithRequestIdVersion = 3;
+ static const int kMessageWithRequestIdVersion = 1;
static const int kMessageTypeOffset = StructDataHeader.kHeaderSize;
static const int kMessageFlagsOffset = kMessageTypeOffset + 4;
static const int kMessageRequestIdOffset = kMessageFlagsOffset + 4;

Powered by Google App Engine
This is Rietveld 408576698