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 /* From pp_file_info.idl modified Mon Nov 14 10:36:01 2011. */ | 6 /* From pp_file_info.idl modified Thu Mar 28 11:11:01 2013. */ |
7 | 7 |
8 #ifndef PPAPI_C_PP_FILE_INFO_H_ | 8 #ifndef PPAPI_C_PP_FILE_INFO_H_ |
9 #define PPAPI_C_PP_FILE_INFO_H_ | 9 #define PPAPI_C_PP_FILE_INFO_H_ |
10 | 10 |
11 #include "ppapi/c/pp_macros.h" | 11 #include "ppapi/c/pp_macros.h" |
12 #include "ppapi/c/pp_stdint.h" | 12 #include "ppapi/c/pp_stdint.h" |
13 #include "ppapi/c/pp_time.h" | 13 #include "ppapi/c/pp_time.h" |
14 | 14 |
15 /** | 15 /** |
16 * @file | 16 * @file |
(...skipping 19 matching lines...) Expand all Loading... |
36 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FileType, 4); | 36 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FileType, 4); |
37 | 37 |
38 /** | 38 /** |
39 * The <code>PP_FileSystemType</code> enum contains file system type constants. | 39 * The <code>PP_FileSystemType</code> enum contains file system type constants. |
40 */ | 40 */ |
41 typedef enum { | 41 typedef enum { |
42 /** For identified invalid return values */ | 42 /** For identified invalid return values */ |
43 PP_FILESYSTEMTYPE_INVALID = 0, | 43 PP_FILESYSTEMTYPE_INVALID = 0, |
44 /** For external file system types */ | 44 /** For external file system types */ |
45 PP_FILESYSTEMTYPE_EXTERNAL = 1, | 45 PP_FILESYSTEMTYPE_EXTERNAL = 1, |
46 /** For local persistant file system types */ | 46 /** For local persistent file system types */ |
47 PP_FILESYSTEMTYPE_LOCALPERSISTENT = 2, | 47 PP_FILESYSTEMTYPE_LOCALPERSISTENT = 2, |
48 /** For local temporary file system types */ | 48 /** For local temporary file system types */ |
49 PP_FILESYSTEMTYPE_LOCALTEMPORARY = 3 | 49 PP_FILESYSTEMTYPE_LOCALTEMPORARY = 3 |
50 } PP_FileSystemType; | 50 } PP_FileSystemType; |
51 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FileSystemType, 4); | 51 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FileSystemType, 4); |
52 /** | 52 /** |
53 * @} | 53 * @} |
54 */ | 54 */ |
55 | 55 |
56 /** | 56 /** |
(...skipping 30 matching lines...) Expand all Loading... |
87 */ | 87 */ |
88 PP_Time last_modified_time; | 88 PP_Time last_modified_time; |
89 }; | 89 }; |
90 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_FileInfo, 40); | 90 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_FileInfo, 40); |
91 /** | 91 /** |
92 * @} | 92 * @} |
93 */ | 93 */ |
94 | 94 |
95 #endif /* PPAPI_C_PP_FILE_INFO_H_ */ | 95 #endif /* PPAPI_C_PP_FILE_INFO_H_ */ |
96 | 96 |
OLD | NEW |