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

Side by Side Diff: mojo/common/common_custom_types.mojom

Issue 2524293002: Add a mojo struct corresponding and typemapped to base::File. (Closed)
Patch Set: Created 4 years 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 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]
(...skipping 22 matching lines...) Expand all
33 // Corresponds to |base::UnguessableToken| in base/unguessable_token.h 33 // Corresponds to |base::UnguessableToken| in base/unguessable_token.h
34 struct UnguessableToken { 34 struct UnguessableToken {
35 uint64 high; 35 uint64 high;
36 uint64 low; 36 uint64 low;
37 }; 37 };
38 38
39 // Corresponds to |base::Version| in base/version.h 39 // Corresponds to |base::Version| in base/version.h
40 struct Version { 40 struct Version {
41 array<uint32> components; 41 array<uint32> components;
42 }; 42 };
43
44 // Corresponds to |base::File| in base/files/file.h
45 struct File {
46 handle fd;
47 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698