Chromium Code Reviews| 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 struct Time { |
| 17 struct Time; | 17 double seconds; |
|
jbroman
2016/11/21 21:36:01
You'll want the opinion of a mojo/common/ owner, b
| |
| 18 }; | |
| 18 | 19 |
| 19 struct TimeDelta { | 20 struct TimeDelta { |
| 20 int64 microseconds; | 21 int64 microseconds; |
| 21 }; | 22 }; |
| 22 | 23 |
| 23 [Native] | 24 [Native] |
| 24 struct TimeTicks; | 25 struct TimeTicks; |
| 25 | 26 |
| 26 // Corresponds to |base::string16| in base/strings/string16.h | 27 // Corresponds to |base::string16| in base/strings/string16.h |
| 27 // Corresponds to |WTF::String| in | 28 // Corresponds to |WTF::String| in |
| 28 // third_party/WebKit/Source/wtf/text/WTFString.h. | 29 // third_party/WebKit/Source/wtf/text/WTFString.h. |
| 29 struct String16 { | 30 struct String16 { |
| 30 array<uint16> data; | 31 array<uint16> data; |
| 31 }; | 32 }; |
| 32 | 33 |
| 33 // Corresponds to |base::UnguessableToken| in base/unguessable_token.h | 34 // Corresponds to |base::UnguessableToken| in base/unguessable_token.h |
| 34 struct UnguessableToken { | 35 struct UnguessableToken { |
| 35 uint64 high; | 36 uint64 high; |
| 36 uint64 low; | 37 uint64 low; |
| 37 }; | 38 }; |
| 38 | 39 |
| 39 // Corresponds to |base::Version| in base/version.h | 40 // Corresponds to |base::Version| in base/version.h |
| 40 struct Version { | 41 struct Version { |
| 41 array<uint32> components; | 42 array<uint32> components; |
| 42 }; | 43 }; |
| OLD | NEW |