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 #include <stdint.h> |
| 6 |
| 7 #include "ppapi/c/pp_completion_callback.h" |
| 8 #include "ppapi/c/pp_errors.h" |
5 #include "ppapi/c/pp_file_info.h" | 9 #include "ppapi/c/pp_file_info.h" |
6 #include "ppapi/c/ppb_file_ref.h" | 10 #include "ppapi/c/ppb_file_ref.h" |
7 #include "ppapi/c/pp_completion_callback.h" | |
8 #include "ppapi/c/pp_errors.h" | |
9 #include "ppapi/c/private/ppb_file_ref_private.h" | 11 #include "ppapi/c/private/ppb_file_ref_private.h" |
10 #include "ppapi/shared_impl/file_ref_create_info.h" | 12 #include "ppapi/shared_impl/file_ref_create_info.h" |
11 #include "ppapi/shared_impl/proxy_lock.h" | 13 #include "ppapi/shared_impl/proxy_lock.h" |
12 #include "ppapi/shared_impl/tracked_callback.h" | 14 #include "ppapi/shared_impl/tracked_callback.h" |
13 #include "ppapi/thunk/enter.h" | 15 #include "ppapi/thunk/enter.h" |
14 #include "ppapi/thunk/thunk.h" | |
15 #include "ppapi/thunk/ppb_file_ref_api.h" | 16 #include "ppapi/thunk/ppb_file_ref_api.h" |
16 #include "ppapi/thunk/ppb_file_system_api.h" | 17 #include "ppapi/thunk/ppb_file_system_api.h" |
17 #include "ppapi/thunk/resource_creation_api.h" | 18 #include "ppapi/thunk/resource_creation_api.h" |
| 19 #include "ppapi/thunk/thunk.h" |
18 | 20 |
19 namespace ppapi { | 21 namespace ppapi { |
20 namespace thunk { | 22 namespace thunk { |
21 | 23 |
22 namespace { | 24 namespace { |
23 | 25 |
24 typedef EnterResource<PPB_FileRef_API> EnterFileRef; | 26 typedef EnterResource<PPB_FileRef_API> EnterFileRef; |
25 | 27 |
26 PP_Resource Create(PP_Resource file_system, const char* path) { | 28 PP_Resource Create(PP_Resource file_system, const char* path) { |
27 VLOG(4) << "PPB_FileRef::Create()"; | 29 VLOG(4) << "PPB_FileRef::Create()"; |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 const PPB_FileRef_1_2* GetPPB_FileRef_1_2_Thunk() { | 227 const PPB_FileRef_1_2* GetPPB_FileRef_1_2_Thunk() { |
226 return &g_ppb_file_ref_thunk_1_2; | 228 return &g_ppb_file_ref_thunk_1_2; |
227 } | 229 } |
228 | 230 |
229 const PPB_FileRefPrivate_0_1* GetPPB_FileRefPrivate_0_1_Thunk() { | 231 const PPB_FileRefPrivate_0_1* GetPPB_FileRefPrivate_0_1_Thunk() { |
230 return &g_ppb_file_ref_private_thunk; | 232 return &g_ppb_file_ref_private_thunk; |
231 } | 233 } |
232 | 234 |
233 } // namespace thunk | 235 } // namespace thunk |
234 } // namespace ppapi | 236 } // namespace ppapi |
OLD | NEW |