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 14 matching lines...) Expand all Loading... | |
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 persistent 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 /** For isolated file system types (only for CrxFileSystem) */ | |
yzshen1
2013/05/02 23:22:01
I think we should avoid adding comments for privat
victorhsieh
2013/05/03 17:26:58
Done.
| |
37 PP_FILESYSTEMTYPE_ISOLATED = 4 | |
36 }; | 38 }; |
37 | 39 |
38 /** | 40 /** |
39 * The <code>PP_FileInfo</code> struct represents all information about a file, | 41 * The <code>PP_FileInfo</code> struct represents all information about a file, |
40 * such as size, type, and creation time. | 42 * such as size, type, and creation time. |
41 */ | 43 */ |
42 [assert_size(40)] | 44 [assert_size(40)] |
43 struct PP_FileInfo { | 45 struct PP_FileInfo { |
44 /** This value represents the size of the file measured in bytes */ | 46 /** This value represents the size of the file measured in bytes */ |
45 int64_t size; | 47 int64_t size; |
(...skipping 19 matching lines...) Expand all Loading... | |
65 * This value represents the last time the file was accessed. | 67 * This value represents the last time the file was accessed. |
66 */ | 68 */ |
67 PP_Time last_access_time; | 69 PP_Time last_access_time; |
68 | 70 |
69 /** | 71 /** |
70 * This value represents the last time the file was modified. | 72 * This value represents the last time the file was modified. |
71 */ | 73 */ |
72 PP_Time last_modified_time; | 74 PP_Time last_modified_time; |
73 }; | 75 }; |
74 | 76 |
OLD | NEW |