| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module mojo.common.mojom; |
| 6 |
| 7 [Native] |
| 8 // Corresponds to |base::ScopedFD| in base/files/scoped_file.h |
| 9 struct FileDescriptor { |
| 10 handle wrapped_handle; |
| 11 }; |
| 12 |
| 13 // Corresponds to |base::win::ScopedHandle| in base/win/scoped_handle.h |
| 14 struct WindowsHandle { |
| 15 handle wrapped_handle; |
| 16 }; |
| 17 |
| 18 union PlatformHandle { |
| 19 FileDescriptor fd; |
| 20 WindowsHandle windows_handle; |
| 21 }; |
| OLD | NEW |