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

Side by Side Diff: ppapi/api/private/ppb_isolated_file_system_private.idl

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
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 5
6 [generate_thunk,thunk_include="ppapi/thunk/ppb_isolated_file_system_private_api. h"] 6 [generate_thunk,thunk_include="ppapi/thunk/ppb_isolated_file_system_private_api. h"]
7 7
8 /** 8 /**
9 * This file contains the <code>PPB_IsolatedFileSystem_Private</code> interface. 9 * This file contains the <code>PPB_IsolatedFileSystem_Private</code> interface.
10 */ 10 */
11 label Chrome { 11 label Chrome {
12 M33 = 0.1 12 M33 = 0.2
13 }; 13 };
14 14
15 15
16 /** 16 /**
17 * The <code>PP_IsolatedFileSystemType_Private</code> values indicate the type 17 * The <code>PP_IsolatedFileSystemType_Private</code> values indicate the type
18 * of isolated file systems. 18 * of isolated file systems.
19 */ 19 */
20 [assert_size(4)] 20 [assert_size(4)]
21 enum PP_IsolatedFileSystemType_Private { 21 enum PP_IsolatedFileSystemType_Private {
22 /** Type for invalid file systems */ 22 /** Type for invalid file systems */
23 PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_INVALID = 0, 23 PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_INVALID = 0,
24 /** Type for CRX file systems */ 24 /** Type for CRX file systems */
25 PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_CRX = 1 25 PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_CRX = 1,
26 /** Type for PluginPrivate file systems */
27 PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_PLUGINPRIVATE = 2
26 }; 28 };
27 29
28 /* <code>PPB_IsolatedFileSystem_Private</code> interface */ 30 /* <code>PPB_IsolatedFileSystem_Private</code> interface */
29 interface PPB_IsolatedFileSystem_Private { 31 interface PPB_IsolatedFileSystem_Private {
30 /** 32 /**
31 * Open() opens a file system corresponding the given file system type. 33 * Open() opens a file system corresponding the given file system type.
32 * 34 *
33 * When opening the CRX file system, this should be called from an extension 35 * When opening the CRX file system, this should be called from an extension
34 * context, otherwise it will fail. 36 * context, otherwise it will fail.
35 * 37 *
36 * @param[in] instance A <code>PP_Instance</code> identifying the instance 38 * @param[in] instance A <code>PP_Instance</code> identifying the instance
37 * with the file system. 39 * with the file system.
38 * @param[in] type A file system type as defined by 40 * @param[in] type A file system type as defined by
39 * <code>PP_IsolatedFileSystemType_Private</code> enum. 41 * <code>PP_IsolatedFileSystemType_Private</code> enum.
40 * @param[out] file_system An output <code>PP_Resource</code> corresponding 42 * @param[out] file_system An output <code>PP_Resource</code> corresponding
41 * to a PPB_FileSystem. 43 * to a PPB_FileSystem.
42 * @param[in] callback A <code>PP_CompletionCallback</code> to be called upon 44 * @param[in] callback A <code>PP_CompletionCallback</code> to be called upon
43 * completion of Open. 45 * completion of Open.
44 * 46 *
45 * @return An int32_t containing an error code from <code>pp_errors.h</code>. 47 * @return An int32_t containing an error code from <code>pp_errors.h</code>.
46 */ 48 */
47 [singleton,api=PPB_IsolatedFileSystem_Private_API] 49 [singleton,api=PPB_IsolatedFileSystem_Private_API]
48 int32_t Open([in] PP_Instance instance, 50 int32_t Open([in] PP_Instance instance,
49 [in] PP_IsolatedFileSystemType_Private type, 51 [in] PP_IsolatedFileSystemType_Private type,
50 [out] PP_Resource file_system, 52 [out] PP_Resource file_system,
51 [in] PP_CompletionCallback callback); 53 [in] PP_CompletionCallback callback);
52 }; 54 };
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_file_system_host.cc ('k') | ppapi/c/private/ppb_isolated_file_system_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698