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 [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 // Corresponds to |base::string16| in base/strings/string16.h |
| 27 struct String16; | 27 // Corresponds to |blink::WebString| in |
|
Tom Sepez
2016/09/29 20:13:08
Wouldn't this violate DEPS, in some sense; I didn'
Zhiqiang Zhang (Slow)
2016/09/29 20:39:31
There some other types which has been mapped to bl
Ken Rockot(use gerrit already)
2016/09/29 22:00:48
This is fine. The typemap which actually imposes D
| |
| 28 // third_party/WebKit/public/platform/WebString.h, and only accept non-null | |
| 29 // |blink::WebString|. | |
| 30 struct String16 { | |
| 31 array<uint16> data; | |
| 32 }; | |
| 28 | 33 |
| 29 // Corresponds to |base::UnguessableToken| in base/unguessable_token.h | 34 // Corresponds to |base::UnguessableToken| in base/unguessable_token.h |
| 30 struct UnguessableToken { | 35 struct UnguessableToken { |
| 31 uint64 high; | 36 uint64 high; |
| 32 uint64 low; | 37 uint64 low; |
| 33 }; | 38 }; |
| 34 | 39 |
| 35 // Corresponds to |base::Version| in base/version.h | 40 // Corresponds to |base::Version| in base/version.h |
| 36 struct Version { | 41 struct Version { |
| 37 array<uint32> components; | 42 array<uint32> components; |
| 38 }; | 43 }; |
| OLD | NEW |