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

Unified Diff: ppapi/api/private/finish_writing_these/ppb_nacl_private.idl

Issue 10662006: Add a NaCl-Private interface for opening files in DIR_PNACL_COMPONENT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments and rebase Created 8 years, 5 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/finish_writing_these/ppb_nacl_private.idl
diff --git a/ppapi/api/private/finish_writing_these/ppb_nacl_private.idl b/ppapi/api/private/finish_writing_these/ppb_nacl_private.idl
index e9047d228c16901327d1c1c539ff38f0ec2c942f..eb324d1f57e149e36b40dc1ff3bb5bf973e6e156 100644
--- a/ppapi/api/private/finish_writing_these/ppb_nacl_private.idl
+++ b/ppapi/api/private/finish_writing_these/ppb_nacl_private.idl
@@ -6,7 +6,7 @@
/* This file contains NaCl private interfaces. */
/* PPB_NaCl_Private */
-interface PPB_NaCl_Private_0_5 {
+interface PPB_NaCl_Private_0_6 {
/* This function launches NaCl's sel_ldr process. On success, the function
* returns true, otherwise it returns false. When it returns true, it will
* write |socket_count| nacl::Handles to imc_handles.
@@ -31,4 +31,11 @@ interface PPB_NaCl_Private_0_5 {
* code to be processed by the graphics stack.
*/
bool Are3DInterfacesDisabled();
+
+ /* Returns a read-only file descriptor of a file rooted in the Pnacl
+ * component directory, or -1 on error.
+ * Do we want this to take a completion callback and be async, or
+ * could we make this happen on another thread?
+ */
+ int32_t GetReadonlyPnaclFd([in] str_t filename);
};

Powered by Google App Engine
This is Rietveld 408576698