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

Side by Side Diff: third_party/mojo/src/mojo/public/interfaces/bindings/tests/test_unions.mojom

Issue 910883002: Update mojo sdk to rev 8af2ccff2eee4bfca1043015abee30482a030b30 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Apply 9f87aeadbda22441b7d469e596f7bd7d0d73e2a8 (https://codereview.chromium.org/908973002/) Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module mojo.test; 5 module mojo.test;
6 6
7 union PodUnion { 7 union PodUnion {
8 int8 f_int8; 8 int8 f_int8;
9 int8 f_int8_other; 9 int8 f_int8_other;
10 uint8 f_uint8; 10 uint8 f_uint8;
11 int16 f_int16; 11 int16 f_int16;
12 uint16 f_uint16; 12 uint16 f_uint16;
13 int32 f_int32; 13 int32 f_int32;
14 uint32 f_uint32; 14 uint32 f_uint32;
15 int64 f_int64; 15 int64 f_int64;
16 uint64 f_uint64; 16 uint64 f_uint64;
17 float f_float; 17 float f_float;
18 double f_double; 18 double f_double;
19 bool f_bool; 19 bool f_bool;
20 };
21
22 union ObjectUnion {
23 int8 f_int8;
20 string f_string; 24 string f_string;
21 }; 25 };
22
23 struct SomeStruct {
24 string f_string;
25 };
OLDNEW
« no previous file with comments | « third_party/mojo/src/mojo/public/interfaces/bindings/tests/BUILD.gn ('k') | third_party/mojo/src/mojo/public/js/connection.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698