OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 | 5 |
6 /** | 6 /** |
7 * This file defines three enumerations for use in the PPAPI C file IO APIs. | 7 * This file defines three enumerations for use in the PPAPI C file IO APIs. |
8 */ | 8 */ |
9 | 9 |
10 /** | 10 /** |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 /** | 23 /** |
24 * The <code>PP_FileSystemType</code> enum contains file system type constants. | 24 * The <code>PP_FileSystemType</code> enum contains file system type constants. |
25 */ | 25 */ |
26 [assert_size(4)] | 26 [assert_size(4)] |
27 enum PP_FileSystemType { | 27 enum PP_FileSystemType { |
28 /** For identified invalid return values */ | 28 /** For identified invalid return values */ |
29 PP_FILESYSTEMTYPE_INVALID = 0, | 29 PP_FILESYSTEMTYPE_INVALID = 0, |
30 /** For external file system types */ | 30 /** For external file system types */ |
31 PP_FILESYSTEMTYPE_EXTERNAL = 1, | 31 PP_FILESYSTEMTYPE_EXTERNAL = 1, |
32 /** For local persistant file system types */ | 32 /** For local persistent file system types */ |
33 PP_FILESYSTEMTYPE_LOCALPERSISTENT = 2, | 33 PP_FILESYSTEMTYPE_LOCALPERSISTENT = 2, |
34 /** For local temporary file system types */ | 34 /** For local temporary file system types */ |
35 PP_FILESYSTEMTYPE_LOCALTEMPORARY = 3 | 35 PP_FILESYSTEMTYPE_LOCALTEMPORARY = 3 |
36 }; | 36 }; |
37 | 37 |
38 /** | 38 /** |
39 * The <code>PP_FileInfo</code> struct represents all information about a file, | 39 * The <code>PP_FileInfo</code> struct represents all information about a file, |
40 * such as size, type, and creation time. | 40 * such as size, type, and creation time. |
41 */ | 41 */ |
42 [assert_size(40)] | 42 [assert_size(40)] |
(...skipping 22 matching lines...) Expand all Loading... |
65 * This value represents the last time the file was accessed. | 65 * This value represents the last time the file was accessed. |
66 */ | 66 */ |
67 PP_Time last_access_time; | 67 PP_Time last_access_time; |
68 | 68 |
69 /** | 69 /** |
70 * This value represents the last time the file was modified. | 70 * This value represents the last time the file was modified. |
71 */ | 71 */ |
72 PP_Time last_modified_time; | 72 PP_Time last_modified_time; |
73 }; | 73 }; |
74 | 74 |
OLD | NEW |