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 c259cbebe95f87e2ffbe650ef8100437d3def795..d5abbf5ed51caaddd487adedbf1ab098c9d5bab1 100644 |
--- a/ppapi/c/private/ppb_nacl_private.h |
+++ b/ppapi/c/private/ppb_nacl_private.h |
@@ -3,7 +3,7 @@ |
* found in the LICENSE file. |
*/ |
-/* From private/ppb_nacl_private.idl modified Mon Apr 7 13:43:24 2014. */ |
+/* From private/ppb_nacl_private.idl modified Wed Apr 9 10:26:49 2014. */ |
#ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ |
#define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ |
@@ -278,6 +278,17 @@ struct PPB_NaCl_Private_1_0 { |
PP_Bool length_is_computable, |
uint64_t loaded_bytes, |
uint64_t total_bytes); |
+ /* Report that the attempt to open the nexe has finished. Opening the file |
+ * may have failed, as indicated by a pp_error value that is not PP_OK or an |
+ * fd of -1. Failure to stat the file to determine its length results in |
+ * nexe_bytes_read being -1. |
+ */ |
+ void (*NexeFileDidOpen)(PP_Instance instance, |
+ int32_t pp_error, |
+ int32_t fd, |
+ int32_t http_status, |
+ int64_t nexe_bytes_read, |
+ const char* url); |
/* Report that the nexe loaded successfully. */ |
void (*ReportLoadSuccess)(PP_Instance instance, |
const char* url, |