OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // From private/ppb_isolated_file_system_private.idl, | 5 // From private/ppb_isolated_file_system_private.idl, |
6 // modified Thu Oct 31 20:52:54 2013. | 6 // modified Fri Nov 8 02:21:15 2013. |
7 | 7 |
8 #include "ppapi/c/pp_completion_callback.h" | 8 #include "ppapi/c/pp_completion_callback.h" |
9 #include "ppapi/c/pp_errors.h" | 9 #include "ppapi/c/pp_errors.h" |
10 #include "ppapi/c/private/ppb_isolated_file_system_private.h" | 10 #include "ppapi/c/private/ppb_isolated_file_system_private.h" |
11 #include "ppapi/shared_impl/tracked_callback.h" | 11 #include "ppapi/shared_impl/tracked_callback.h" |
12 #include "ppapi/thunk/enter.h" | 12 #include "ppapi/thunk/enter.h" |
13 #include "ppapi/thunk/ppb_instance_api.h" | 13 #include "ppapi/thunk/ppb_instance_api.h" |
14 #include "ppapi/thunk/ppb_isolated_file_system_private_api.h" | 14 #include "ppapi/thunk/ppb_isolated_file_system_private_api.h" |
15 #include "ppapi/thunk/resource_creation_api.h" | 15 #include "ppapi/thunk/resource_creation_api.h" |
16 #include "ppapi/thunk/thunk.h" | 16 #include "ppapi/thunk/thunk.h" |
(...skipping 11 matching lines...) Expand all Loading... |
28 EnterInstanceAPI<PPB_IsolatedFileSystem_Private_API> enter(instance, | 28 EnterInstanceAPI<PPB_IsolatedFileSystem_Private_API> enter(instance, |
29 callback); | 29 callback); |
30 if (enter.failed()) | 30 if (enter.failed()) |
31 return enter.retval(); | 31 return enter.retval(); |
32 return enter.SetResult(enter.functions()->Open(instance, | 32 return enter.SetResult(enter.functions()->Open(instance, |
33 type, | 33 type, |
34 file_system, | 34 file_system, |
35 enter.callback())); | 35 enter.callback())); |
36 } | 36 } |
37 | 37 |
38 const PPB_IsolatedFileSystem_Private_0_1 | 38 const PPB_IsolatedFileSystem_Private_0_2 |
39 g_ppb_isolatedfilesystem_private_thunk_0_1 = { | 39 g_ppb_isolatedfilesystem_private_thunk_0_2 = { |
40 &Open | 40 &Open |
41 }; | 41 }; |
42 | 42 |
43 } // namespace | 43 } // namespace |
44 | 44 |
45 const PPB_IsolatedFileSystem_Private_0_1* | 45 const PPB_IsolatedFileSystem_Private_0_2* |
46 GetPPB_IsolatedFileSystem_Private_0_1_Thunk() { | 46 GetPPB_IsolatedFileSystem_Private_0_2_Thunk() { |
47 return &g_ppb_isolatedfilesystem_private_thunk_0_1; | 47 return &g_ppb_isolatedfilesystem_private_thunk_0_2; |
48 } | 48 } |
49 | 49 |
50 } // namespace thunk | 50 } // namespace thunk |
51 } // namespace ppapi | 51 } // namespace ppapi |
OLD | NEW |