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

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

Issue 1142043005: Update mojo sdk to rev 1dc8a9a5db73d3718d99917fadf31f5fb2ebad4f (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix type conversion errors on win64 for some msvs 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/struct.dart
diff --git a/third_party/mojo/src/mojo/public/dart/src/struct.dart b/third_party/mojo/src/mojo/public/dart/src/struct.dart
deleted file mode 100644
index d4ac365915939232b04bf929e0570449da79ced3..0000000000000000000000000000000000000000
--- a/third_party/mojo/src/mojo/public/dart/src/struct.dart
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-part of bindings;
-
-abstract class Struct {
- final int encodedSize;
-
- Struct(this.encodedSize);
-
- void encode(Encoder encoder);
-
- Message serialize() {
- var encoder = new Encoder(encodedSize);
- encode(encoder);
- return encoder.message;
- }
-
- ServiceMessage serializeWithHeader(MessageHeader header) {
- var encoder = new Encoder(encodedSize + header.size);
- header.encode(encoder);
- encode(encoder);
- return new ServiceMessage(encoder.message, header);
- }
-}
« no previous file with comments | « third_party/mojo/src/mojo/public/dart/src/proxy.dart ('k') | third_party/mojo/src/mojo/public/dart/src/stub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698