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 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_FILE_H_ | 5 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_FILE_H_ |
6 #define PPAPI_C_PRIVATE_PPB_FLASH_FILE_H_ | 6 #define PPAPI_C_PRIVATE_PPB_FLASH_FILE_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ppapi/c/pp_bool.h" | 10 #include "ppapi/c/pp_bool.h" |
9 #include "ppapi/c/pp_instance.h" | 11 #include "ppapi/c/pp_instance.h" |
10 #include "ppapi/c/pp_resource.h" | 12 #include "ppapi/c/pp_resource.h" |
11 #include "ppapi/c/private/pp_file_handle.h" | 13 #include "ppapi/c/private/pp_file_handle.h" |
12 | 14 |
13 struct PP_FileInfo; | 15 struct PP_FileInfo; |
14 | 16 |
15 struct PP_DirEntry_Dev { | 17 struct PP_DirEntry_Dev { |
16 const char* name; | 18 const char* name; |
17 PP_Bool is_dir; | 19 PP_Bool is_dir; |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 // (except in taking FileRefs instead of paths, of course). We omit the | 105 // (except in taking FileRefs instead of paths, of course). We omit the |
104 // functionality which we do not provide for FileRefs. | 106 // functionality which we do not provide for FileRefs. |
105 int32_t (*OpenFile)(PP_Resource file_ref_id, | 107 int32_t (*OpenFile)(PP_Resource file_ref_id, |
106 int32_t mode, | 108 int32_t mode, |
107 PP_FileHandle* file); | 109 PP_FileHandle* file); |
108 int32_t (*QueryFile)(PP_Resource file_ref_id, | 110 int32_t (*QueryFile)(PP_Resource file_ref_id, |
109 struct PP_FileInfo* info); | 111 struct PP_FileInfo* info); |
110 }; | 112 }; |
111 | 113 |
112 #endif // PPAPI_C_PRIVATE_PPB_FLASH_FILE_H_ | 114 #endif // PPAPI_C_PRIVATE_PPB_FLASH_FILE_H_ |
OLD | NEW |