Index: ppapi/c/private/ppb_ext_crx_file_system_private.h |
diff --git a/ppapi/c/private/ppb_ext_crx_file_system_private.h b/ppapi/c/private/ppb_ext_crx_file_system_private.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..114a016faa68dc40c2a67384dfd0e9832a69acbf |
--- /dev/null |
+++ b/ppapi/c/private/ppb_ext_crx_file_system_private.h |
@@ -0,0 +1,59 @@ |
+/* 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. |
+ */ |
+ |
+/* From private/ppb_ext_crx_file_system_private.idl, |
+ * modified Fri May 3 09:55:27 2013. |
+ */ |
+ |
+#ifndef PPAPI_C_PRIVATE_PPB_EXT_CRX_FILE_SYSTEM_PRIVATE_H_ |
+#define PPAPI_C_PRIVATE_PPB_EXT_CRX_FILE_SYSTEM_PRIVATE_H_ |
+ |
+#include "ppapi/c/pp_completion_callback.h" |
+#include "ppapi/c/pp_instance.h" |
+#include "ppapi/c/pp_macros.h" |
+#include "ppapi/c/pp_resource.h" |
+#include "ppapi/c/pp_stdint.h" |
+ |
+#define PPB_EXT_CRXFILESYSTEM_PRIVATE_INTERFACE_0_1 \ |
+ "PPB_Ext_CrxFileSystem_Private;0.1" |
+#define PPB_EXT_CRXFILESYSTEM_PRIVATE_INTERFACE \ |
+ PPB_EXT_CRXFILESYSTEM_PRIVATE_INTERFACE_0_1 |
+ |
+/** |
+ * @file |
+ */ |
+ |
+ |
+/** |
+ * @addtogroup Interfaces |
+ * @{ |
+ */ |
+/* <code>PPB_Ext_CrxFileSystem_Private</code> interface */ |
+struct PPB_Ext_CrxFileSystem_Private_0_1 { |
+ /** |
+ * Open() opens the CRX file system for the current extension. It will fail |
+ * when called from non-extension context. |
+ * |
+ * @param[in] crxfs A <code>PP_Resource</code> corresponding to a |
+ * CrxFileSystem. |
+ * @param[out] file_system An output <code>PP_Resource</code> corresponding |
+ * to a PPB_FileSystem. |
+ * @param[in] callback A <code>PP_CompletionCallback</code> to be called upon |
+ * completion of Open. |
+ * |
+ * @return An int32_t containing an error code from <code>pp_errors.h</code>. |
+ */ |
+ int32_t (*Open)(PP_Instance instance, |
+ PP_Resource* file_system, |
+ struct PP_CompletionCallback callback); |
+}; |
+ |
+typedef struct PPB_Ext_CrxFileSystem_Private_0_1 PPB_Ext_CrxFileSystem_Private; |
+/** |
+ * @} |
+ */ |
+ |
+#endif /* PPAPI_C_PRIVATE_PPB_EXT_CRX_FILE_SYSTEM_PRIVATE_H_ */ |
+ |