Chromium Code Reviews| Index: ppapi/api/private/ppb_ext_crx_file_system_private.idl |
| diff --git a/ppapi/api/private/ppb_ext_crx_file_system_private.idl b/ppapi/api/private/ppb_ext_crx_file_system_private.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0992d61f111104441626d188264ecbeec8c08ff8 |
| --- /dev/null |
| +++ b/ppapi/api/private/ppb_ext_crx_file_system_private.idl |
| @@ -0,0 +1,30 @@ |
| +/* Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| + * Use of this source code is governed by a BSD-style license that can be |
| + * found in the LICENSE file. |
| + */ |
| + |
| +[generate_thunk] |
| + |
| +/** |
| + * This file contains the <code>PPB_Ext_CrxFileSystem_Private</code> interface. |
| + */ |
| +label Chrome { |
| + M28 = 0.1 |
| +}; |
| + |
| +/* <code>PPB_Ext_CrxFileSystem_Private</code> interface */ |
| +interface PPB_Ext_CrxFileSystem_Private { |
|
yzshen1
2013/04/30 19:31:19
IMO, you could remove Ext from the name because Cr
victorhsieh
2013/04/30 22:04:32
Yeah, I saw you have Ext there so I just name it t
|
| + /** |
| + * Create() creates a CRX filesystem resource. It may fail when called from |
|
yzshen1
2013/04/30 19:31:19
Is "may" precise here?
victorhsieh
2013/04/30 22:04:32
It's referenced from pp::FileSystem. I think it's
|
| + * non-extension context. |
| + */ |
| + PP_Resource Create([in] PP_Instance insance); |
| + |
| + /** |
| + * Open() opens the CRX file system for the current extension. It will fail |
| + * when called from non-extension context. |
| + * |
| + * @return An int32_t containing an error code from <code>pp_errors.h</code>. |
| + */ |
| + int32_t Open([in] PP_Resource crxfs, [in] PP_CompletionCallback callback); |
| +}; |