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

Unified Diff: ppapi/api/private/ppb_ext_crx_file_system_private.idl

Issue 14188019: CRX FileSystem Pepper private API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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/api/private/ppb_ext_crx_file_system_private.idl
diff --git a/ppapi/api/private/ppb_ext_crx_file_system_private.idl b/ppapi/api/private/ppb_ext_crx_file_system_private.idl
new file mode 100644
index 0000000000000000000000000000000000000000..62198910d294c4a9a99d799a9f07aab1472b2979
--- /dev/null
+++ b/ppapi/api/private/ppb_ext_crx_file_system_private.idl
@@ -0,0 +1,32 @@
+/* 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.
+ */
+
+[generate_thunk]
+
+/**
+ * This file contains the <code>PPB_Ext_CrxFileSystem_Private</code> interface.
+ */
+label Chrome {
+ M28 = 0.1
+};
+
+/* <code>PPB_Ext_CrxFileSystem_Private</code> interface */
+interface PPB_Ext_CrxFileSystem_Private {
+ /**
+ * Create() creates a CRX filesystem resource. It may fail when called from
+ * non-extension context.
+ */
+ PP_Resource Create([in] PP_Instance insance);
palmer 2013/05/02 21:30:09 Typo: |instance|.
victorhsieh 2013/05/03 17:26:58 Done.
+
+ /**
+ * 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([in] PP_Resource crxfs,
+ [out] PP_Resource file_system,
+ [in] PP_CompletionCallback callback);
+};

Powered by Google App Engine
This is Rietveld 408576698