| Index: ppapi/api/private/ppb_nacl_private.idl
|
| diff --git a/ppapi/api/private/ppb_nacl_private.idl b/ppapi/api/private/ppb_nacl_private.idl
|
| index d06e272092bda0178b01614a28370dbfbdf88c8d..b40e60d92ec12a33b68c72ca4fbaba5f1f93a620 100644
|
| --- a/ppapi/api/private/ppb_nacl_private.idl
|
| +++ b/ppapi/api/private/ppb_nacl_private.idl
|
| @@ -301,19 +301,6 @@ interface PPB_NaCl_Private {
|
| [in] uint64_t loaded_bytes,
|
| [in] 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([in] PP_Instance instance,
|
| - [in] int32_t pp_error,
|
| - [in] int32_t fd,
|
| - [in] int32_t http_status,
|
| - [in] int64_t nexe_bytes_read,
|
| - [in] str_t url,
|
| - [in] int64_t time_since_open);
|
| -
|
| /* Report that the nexe loaded successfully. */
|
| void ReportLoadSuccess([in] PP_Instance instance,
|
| [in] str_t url,
|
| @@ -452,4 +439,11 @@ interface PPB_NaCl_Private {
|
| */
|
| void PostMessageToJavaScript([in] PP_Instance instance,
|
| [in] str_t message);
|
| +
|
| + /* Downloads the .nexe file at the given URL to a file, and populates
|
| + * |handle| with a handle to a file containing its contents. */
|
| + void DownloadNexe([in] PP_Instance instance,
|
| + [in] str_t url,
|
| + [out] PP_FileHandle handle,
|
| + [in] PP_CompletionCallback callback);
|
| };
|
|
|