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 4bc02e0749e7c182c9b3ed4decbac5cb70359387..0b224a05efc00c3fde6ab4a9d77af0c91fd02139 100644 |
--- a/ppapi/api/private/ppb_nacl_private.idl |
+++ b/ppapi/api/private/ppb_nacl_private.idl |
@@ -146,12 +146,20 @@ struct PP_PNaClOptions { |
* Once false is called, as the service has been destructed, all functions |
* should never be called afterwords. |
*/ |
-interface PP_ManifestService { |
+interface PPP_ManifestService { |
/* Called when ManifestService should be destructed. */ |
PP_Bool Quit([inout] mem_t user_data); |
/* Called when PPAPI initialization in the NaCl plugin is finished. */ |
PP_Bool StartupInitializationComplete([inout] mem_t user_data); |
+ |
+ /* Called when irt_open_resource() is invoked in the NaCl plugin. |
+ * Upon completion, callback will be invoked. If the OpenResource() returns |
+ * PP_FALSE, callback will never be called. */ |
+ PP_Bool OpenResource([inout] mem_t user_data, |
+ [in] str_t entry_key, |
+ [out] PP_FileHandle file, |
+ [in] PP_CompletionCallback callback); |
dmichael (off chromium)
2014/04/25 21:06:58
We never use completion callbacks in this directio
hidehiko
2014/04/28 08:44:27
Done.
|
}; |
/* PPB_NaCl_Private */ |
@@ -184,7 +192,7 @@ interface PPB_NaCl_Private { |
[in] PP_Bool enable_dyncode_syscalls, |
[in] PP_Bool enable_exception_handling, |
[in] PP_Bool enable_crash_throttling, |
- [in] PP_ManifestService manifest_service_interface, |
+ [in] PPP_ManifestService manifest_service_interface, |
[inout] mem_t manifest_service_user_data, |
[out] mem_t imc_handle, |
[out] PP_Var error_message, |