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..77e251f9217251737608815ebddf08efd133f9d2 |
--- /dev/null |
+++ b/ppapi/c/private/ppb_ext_crx_file_system_private.h |
@@ -0,0 +1,55 @@ |
+/* 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 Wed Apr 17 11:54:28 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 { |
+ /** |
+ * Create() creates a CRX filesystem resource. It may fail when called from |
+ * non-extension context. |
+ */ |
+ PP_Resource (*Create)(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)(PP_Resource crxfs, 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_ */ |
+ |