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

Unified Diff: ppapi/c/private/ppb_ext_crx_file_system_private.h

Issue 14188019: CRX FileSystem Pepper private API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/ppb_file_system.h ('k') | ppapi/cpp/file_ref.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ */
+
« no previous file with comments | « ppapi/c/ppb_file_system.h ('k') | ppapi/cpp/file_ref.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698