diff options
author | sehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-21 01:07:57 +0000 |
---|---|---|
committer | sehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-21 01:07:57 +0000 |
commit | 07bb6337ff5a13d3059fbc680beb9fc19852a40d (patch) | |
tree | dbeb7095cc9ba94165348229794e209cc2c7cdd8 /ppapi/c/private | |
parent | a27308823dcdc002d05a355404dca725532e1697 (diff) | |
download | chromium_src-07bb6337ff5a13d3059fbc680beb9fc19852a40d.zip chromium_src-07bb6337ff5a13d3059fbc680beb9fc19852a40d.tar.gz chromium_src-07bb6337ff5a13d3059fbc680beb9fc19852a40d.tar.bz2 |
Repeat performance for 118553 -- Add nacl private interface and state
for process creation
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9270032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118575 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/private')
-rw-r--r-- | ppapi/c/private/ppb_nacl_private.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ppapi/c/private/ppb_nacl_private.h b/ppapi/c/private/ppb_nacl_private.h index b741ae2..e275a90 100644 --- a/ppapi/c/private/ppb_nacl_private.h +++ b/ppapi/c/private/ppb_nacl_private.h @@ -16,7 +16,8 @@ struct PPB_NaCl_Private { // write |socket_count| nacl::Handles to imc_handles and will write the // nacl::Handle of the created process to |nacl_process_handle|. Finally, // the function will write the process ID of the created process to - // |nacl_process_id|. + // |nacl_process_id|. Unless EnableBackgroundSelLdrLaunch is called, this + // method must be invoked from the main thread. bool (*LaunchSelLdr)(const char* alleged_url, int socket_count, void* imc_handles, void* nacl_process_handle, int* nacl_process_id); @@ -29,6 +30,9 @@ struct PPB_NaCl_Private { // proxy. This is so paranoid admins can effectively prevent untrusted shader // code to be processed by the graphics stack. bool (*Are3DInterfacesDisabled)(); + + // Enables the creation of sel_ldr processes from other than the main thread. + void (*EnableBackgroundSelLdrLaunch)(); }; #endif // PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ |