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

Side by Side Diff: ppapi/c/private/ppb_plugin_private_file_system_private.h

Issue 26803004: PPAPI: Add PluginPrivateFileSystem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
OLDNEW
(Empty)
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
3 * found in the LICENSE file.
4 */
5
6 /* From private/ppb_plugin_private_file_system_private.idl,
7 * modified Tue Oct 29 20:18:11 2013.
8 */
9
10 #ifndef PPAPI_C_PRIVATE_PPB_PLUGIN_PRIVATE_FILE_SYSTEM_PRIVATE_H_
11 #define PPAPI_C_PRIVATE_PPB_PLUGIN_PRIVATE_FILE_SYSTEM_PRIVATE_H_
12
13 #include "ppapi/c/pp_completion_callback.h"
14 #include "ppapi/c/pp_instance.h"
15 #include "ppapi/c/pp_macros.h"
16 #include "ppapi/c/pp_resource.h"
17 #include "ppapi/c/pp_stdint.h"
18
19 #define PPB_PLUGINPRIVATEFILESYSTEM_PRIVATE_INTERFACE_0_1 \
20 "PPB_PluginPrivateFileSystem_Private;0.1"
21 #define PPB_PLUGINPRIVATEFILESYSTEM_PRIVATE_INTERFACE \
22 PPB_PLUGINPRIVATEFILESYSTEM_PRIVATE_INTERFACE_0_1
23
24 /**
25 * @file
26 */
27
28
29 /**
30 * @addtogroup Interfaces
31 * @{
32 */
33 /* <code>PPB_PluginPrivateFileSystem_Private</code> interface */
34 struct PPB_PluginPrivateFileSystem_Private_0_1 {
35 /**
36 * Open() opens the plugin private file system.
37 *
38 * @param[in] fs A <code>PP_Resource</code> corresponding to a
39 * PluginPrivateFileSystem.
40 * @param[out] file_system An output <code>PP_Resource</code> corresponding
41 * to a PPB_FileSystem.
42 * @param[in] callback A <code>PP_CompletionCallback</code> to be called upon
43 * completion of Open.
44 *
45 * @return An int32_t containing an error code from <code>pp_errors.h</code>.
46 */
47 int32_t (*Open)(PP_Instance instance,
48 PP_Resource* file_system,
49 struct PP_CompletionCallback callback);
50 };
51
52 typedef struct PPB_PluginPrivateFileSystem_Private_0_1
53 PPB_PluginPrivateFileSystem_Private;
54 /**
55 * @}
56 */
57
58 #endif /* PPAPI_C_PRIVATE_PPB_PLUGIN_PRIVATE_FILE_SYSTEM_PRIVATE_H_ */
59
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698