OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // Master list of values for |request| in |mojo.files.File|'s |Ioctl()|. | 5 // Master list of values for |request| in |mojo.files.File|'s |Ioctl()|. |
6 | 6 |
7 [DartPackage="mojo_services"] | 7 [DartPackage="mojo_services"] |
8 module mojo.files; | 8 module mojo.files; |
9 | 9 |
10 // Invalid ioctl request. The response should be error |UNIMPLEMENTED|. | 10 // Invalid ioctl request. The response should be error |UNIMPLEMENTED|. |
11 const uint32 kIoctlInvalid = 0; | 11 const uint32 kIoctlInvalid = 0; |
12 | 12 |
13 // Terminal-related ioctl request (i.e., for terminal/terminal-like "files"). | 13 // Terminal-related ioctl request (i.e., for terminal/terminal-like "files"). |
14 // Unlike Linux, we have a single top-level request for terminal-related ioctls | 14 // Unlike Linux, we have a single top-level request for terminal-related ioctls |
15 // (using |in_values| to specify the request further. See ioctl_terminal.mojom | 15 // (using |in_values| to specify the request further. See ioctl_terminal.mojom |
16 // for details. | 16 // for details. |
17 const uint32 kIoctlTerminal = 1; | 17 const uint32 kIoctlTerminal = 1; |
OLD | NEW |