Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* Copyright (c) 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 [generate_thunk] | |
| 7 | |
| 8 /** | |
| 9 * This file contains the <code>PPB_Ext_CrxFileSystem_Private</code> interface. | |
| 10 */ | |
| 11 label Chrome { | |
| 12 M28 = 0.1 | |
| 13 }; | |
| 14 | |
| 15 /* <code>PPB_Ext_CrxFileSystem_Private</code> interface */ | |
| 16 interface PPB_Ext_CrxFileSystem_Private { | |
| 17 /** | |
| 18 * Create() creates a CRX filesystem resource. It may fail when called from | |
| 19 * non-extension context. | |
| 20 */ | |
| 21 PP_Resource Create([in] PP_Instance insance); | |
|
yzshen1
2013/05/02 23:22:01
You don't need to Create this PP_Resource and inst
victorhsieh
2013/05/03 17:26:58
Done.
| |
| 22 | |
| 23 /** | |
| 24 * Open() opens the CRX file system for the current extension. It will fail | |
| 25 * when called from non-extension context. | |
| 26 * | |
| 27 * @param[in] crxfs A <code>PP_Resource</code> corresponding to a | |
| 28 * CrxFileSystem. | |
| 29 * @param[out] file_system An output <code>PP_Resource</code> corresponding | |
| 30 * to a FileSystem. | |
|
yzshen1
2013/05/02 23:22:01
Please be more specific saying that it is a PPB_Fi
victorhsieh
2013/05/03 17:26:58
Done.
| |
| 31 * @param[in] callback A <code>PP_CompletionCallback</code> to be called upon | |
| 32 * completion of Open. | |
| 33 * | |
| 34 * @return An int32_t containing an error code from <code>pp_errors.h</code>. | |
| 35 */ | |
| 36 int32_t Open([in] PP_Resource crxfs, | |
| 37 [out] PP_Resource file_system, | |
| 38 [in] PP_CompletionCallback callback); | |
| 39 }; | |
| OLD | NEW |