diff options
author | sehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-19 22:27:07 +0000 |
---|---|---|
committer | sehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-19 22:27:07 +0000 |
commit | e17f5ab5ad39cb3001da16482c1c79988ad15fcb (patch) | |
tree | 9f414eed4db0ac4f150840d1a1649bac41f65e22 /ppapi/c | |
parent | d3b92ff32f9a8b97e127888be7df4d8ed5d42abf (diff) | |
download | chromium_src-e17f5ab5ad39cb3001da16482c1c79988ad15fcb.zip chromium_src-e17f5ab5ad39cb3001da16482c1c79988ad15fcb.tar.gz chromium_src-e17f5ab5ad39cb3001da16482c1c79988ad15fcb.tar.bz2 |
Re-enable crash throttling for PNaCl processes.
This version of the change only applies to sel_ldr processes created on behalf
of a pnacl application. This includes the translator nexes and the translated
application nexe.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=359
R=bbudge@chromium.org, jln@chromium.org, jvoung@chromium.org, mseaborn@chromium.org, yzshen@chromium.org
Review URL: https://codereview.chromium.org/22877019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218341 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c')
-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 8be2829..772998b 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 Tue Aug 6 11:51:26 2013. */ +/* From private/ppb_nacl_private.idl modified Mon Aug 19 14:06:38 2013. */ #ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ #define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ @@ -63,6 +63,9 @@ struct PPB_NaCl_Private_1_0 { * will be able to use dynamic code system calls (e.g., mmap with PROT_EXEC). * The |enable_exception_handling| flag indicates whether or not the nexe * will be able to use hardware exception handling. + * The |enable_crash_throttling| flag indicates whether or not crashes of + * the nexe contribute to crash throttling statisics and whether nexe starts + * are throttled by crash throttling. */ PP_ExternalPluginResult (*LaunchSelLdr)(PP_Instance instance, const char* alleged_url, @@ -71,6 +74,7 @@ struct PPB_NaCl_Private_1_0 { PP_Bool enable_ppapi_dev, PP_Bool enable_dyncode_syscalls, PP_Bool enable_exception_handling, + PP_Bool enable_crash_throttling, void* imc_handle, struct PP_Var* error_message); /* This function starts the IPC proxy so the nexe can communicate with the |