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

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

Issue 26803004: PPAPI: Add PluginPrivateFileSystem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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
Index: ppapi/c/private/ppb_plugin_private_file_system_private.h
diff --git a/ppapi/c/private/ppb_plugin_private_file_system_private.h b/ppapi/c/private/ppb_plugin_private_file_system_private.h
new file mode 100644
index 0000000000000000000000000000000000000000..4b82899d20829e6e6e53dce86b776d77c5be38e1
--- /dev/null
+++ b/ppapi/c/private/ppb_plugin_private_file_system_private.h
@@ -0,0 +1,59 @@
+/* Copyright 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_plugin_private_file_system_private.idl,
+ * modified Tue Oct 29 20:18:11 2013.
+ */
+
+#ifndef PPAPI_C_PRIVATE_PPB_PLUGIN_PRIVATE_FILE_SYSTEM_PRIVATE_H_
+#define PPAPI_C_PRIVATE_PPB_PLUGIN_PRIVATE_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_PLUGINPRIVATEFILESYSTEM_PRIVATE_INTERFACE_0_1 \
+ "PPB_PluginPrivateFileSystem_Private;0.1"
+#define PPB_PLUGINPRIVATEFILESYSTEM_PRIVATE_INTERFACE \
+ PPB_PLUGINPRIVATEFILESYSTEM_PRIVATE_INTERFACE_0_1
+
+/**
+ * @file
+ */
+
+
+/**
+ * @addtogroup Interfaces
+ * @{
+ */
+/* <code>PPB_PluginPrivateFileSystem_Private</code> interface */
+struct PPB_PluginPrivateFileSystem_Private_0_1 {
+ /**
+ * Open() opens the plugin private file system.
+ *
+ * @param[in] fs A <code>PP_Resource</code> corresponding to a
+ * PluginPrivateFileSystem.
+ * @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_PluginPrivateFileSystem_Private_0_1
+ PPB_PluginPrivateFileSystem_Private;
+/**
+ * @}
+ */
+
+#endif /* PPAPI_C_PRIVATE_PPB_PLUGIN_PRIVATE_FILE_SYSTEM_PRIVATE_H_ */
+

Powered by Google App Engine
This is Rietveld 408576698