OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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.common.mojom; | 5 module mojo.common.mojom; |
6 | 6 |
7 [Native] | 7 [Native] |
8 struct FilePath; | 8 struct FilePath; |
9 | 9 |
10 [Native] | 10 [Native] |
11 struct ListValue; | 11 struct ListValue; |
12 | 12 |
13 [Native] | 13 [Native] |
14 struct DictionaryValue; | 14 struct DictionaryValue; |
15 | 15 |
16 [Native] | 16 [Native] |
17 struct Time; | 17 struct Time; |
18 | 18 |
19 struct TimeDelta { | 19 struct TimeDelta { |
20 int64 microseconds; | 20 int64 microseconds; |
21 }; | 21 }; |
22 | 22 |
23 [Native] | 23 [Native] |
24 struct TimeTicks; | 24 struct TimeTicks; |
25 | 25 |
26 [Native] | 26 struct String16 { |
27 struct String16; | 27 array<uint16> data; |
| 28 }; |
28 | 29 |
29 // Corresponds to |base::UnguessableToken| in base/unguessable_token.h | 30 // Corresponds to |base::UnguessableToken| in base/unguessable_token.h |
30 struct UnguessableToken { | 31 struct UnguessableToken { |
31 uint64 high; | 32 uint64 high; |
32 uint64 low; | 33 uint64 low; |
33 }; | 34 }; |
34 | 35 |
35 // Corresponds to |base::Version| in base/version.h | 36 // Corresponds to |base::Version| in base/version.h |
36 struct Version { | 37 struct Version { |
37 array<uint32> components; | 38 array<uint32> components; |
38 }; | 39 }; |
OLD | NEW |