Chromium Code Reviews| 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 c420e74cb3450a4bcf600f50aab0733d1810d7f1..0759b434fe4f4255305bb5dc10903a925f334ad2 100644 |
| --- a/ppapi/api/private/ppb_nacl_private.idl |
| +++ b/ppapi/api/private/ppb_nacl_private.idl |
| @@ -92,10 +92,16 @@ interface PPB_NaCl_Private { |
| [in] uint32_t desired_access, |
| [in] uint32_t options); |
| + /* Check if PNaCl is installed and attempt to install if necessary. |
| + * Callback is called when the check is done and PNaCl is already installed, |
| + * or after an on-demand install is attempted. Called back with PP_OK is |
|
Derek Schuff
2013/07/23 21:39:29
is->if
jvoung (off chromium)
2013/07/31 21:41:07
Done.
|
| + * PNaCl is available. Called back with an error otherwise. |
| + */ |
| + int32_t EnsurePnaclInstalled([in] PP_Instance instance, |
| + [in] PP_CompletionCallback callback); |
| + |
| /* Returns a read-only file descriptor of a file rooted in the Pnacl |
| * component directory, or an invalid handle on failure. |
| - * Do we want this to take a completion callback and be async, or |
| - * could we make this happen on another thread? |
| */ |
| PP_FileHandle GetReadonlyPnaclFd([in] str_t filename); |