Index: ppapi/c/private/ppb_nacl_private.h |
diff --git a/ppapi/c/private/ppb_nacl_private.h b/ppapi/c/private/ppb_nacl_private.h |
index f42de0b9f224fc6e00d3be49d4c0f128c31267e9..b96b84c8299ea1db3afe5a0742993e54382045df 100644 |
--- a/ppapi/c/private/ppb_nacl_private.h |
+++ b/ppapi/c/private/ppb_nacl_private.h |
@@ -227,8 +227,12 @@ struct PPB_NaCl_Private_1_0 { |
uint32_t options); |
/* Returns a read-only file descriptor of a file rooted in the Pnacl |
* component directory, or an invalid handle on failure. |
+ * The metadata |file_token_*| are 0 on failure. |
*/ |
- PP_FileHandle (*GetReadonlyPnaclFd)(const char* filename); |
+ PP_FileHandle (*GetReadonlyPnaclFd)(const char* filename, |
+ PP_Bool is_executable, |
+ uint64_t* file_token_lo, |
+ uint64_t* file_token_hi); |
/* This creates a temporary file that will be deleted by the time |
* the last handle is closed (or earlier on POSIX systems), and |
* returns a posix handle to that temporary file. |
@@ -271,7 +275,7 @@ struct PPB_NaCl_Private_1_0 { |
void (*ReportTranslationFinished)(PP_Instance instance, PP_Bool success); |
/* Opens a NaCl executable file in the application's extension directory |
* corresponding to the file URL and returns a file descriptor, or an invalid |
- * handle on failure. |metadata| is left unchanged on failure. |
+ * handle on failure. The metadata |file_token*| are 0 on failure. |
*/ |
PP_FileHandle (*OpenNaClExecutable)(PP_Instance instance, |
const char* file_url, |