Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Side by Side Diff: ppapi/thunk/ppb_isolated_file_system_private_thunk.cc

Issue 26803004: PPAPI: Add PluginPrivateFileSystem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/thunk/interfaces_ppb_private_no_permissions.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_private_no_permissions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698