summaryrefslogtreecommitdiffstats
path: root/ppapi/native_client/src/trusted/plugin/plugin.h
diff options
context:
space:
mode:
authorjvoung <jvoung@chromium.org>2014-10-02 21:39:17 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-03 04:39:52 +0000
commit203dbe474745b94c447c0e1dfc18cfae409a2840 (patch)
treedbab4650751f131dd515e1ce275008ec3198391a /ppapi/native_client/src/trusted/plugin/plugin.h
parenta03ae49d253d7d1f517e2f92146a6ba201c78aa6 (diff)
downloadchromium_src-203dbe474745b94c447c0e1dfc18cfae409a2840.zip
chromium_src-203dbe474745b94c447c0e1dfc18cfae409a2840.tar.gz
chromium_src-203dbe474745b94c447c0e1dfc18cfae409a2840.tar.bz2
NaCl: Replace launch/start param flags with a NaClAppProcessType enum.
There was already an enum called NaClProcessType (for the broker, etc.), so I called this NaClAppProcessType instead. Renamed the original NaClProcessType to NaClTrustedProcessType. This type can then be used to decide on various things like crash throttling, nexe size limits, dyncode enablement, IRT usage rather than plumb separate flags through the various layers and IPCs. Then we can tweak the "uses_irt" to be "optional" for the PNaClTranslator as well. Misc: removed enable_dev_interfaces from service_runtime SelLdrStartParams struct, since it looked unused. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3914 Review URL: https://codereview.chromium.org/614373004 Cr-Commit-Position: refs/heads/master@{#297987}
Diffstat (limited to 'ppapi/native_client/src/trusted/plugin/plugin.h')
-rw-r--r--ppapi/native_client/src/trusted/plugin/plugin.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ppapi/native_client/src/trusted/plugin/plugin.h b/ppapi/native_client/src/trusted/plugin/plugin.h
index d71e589..1fe082a 100644
--- a/ppapi/native_client/src/trusted/plugin/plugin.h
+++ b/ppapi/native_client/src/trusted/plugin/plugin.h
@@ -85,9 +85,7 @@ class Plugin : public pp::Instance {
// mechanism(s) take over.
void LoadNaClModule(PP_NaClFileInfo file_info,
bool uses_nonsfi_mode,
- bool enable_dyncode_syscalls,
- bool enable_exception_handling,
- bool enable_crash_throttling,
+ PP_NaClAppProcessType process_type,
const pp::CompletionCallback& init_done_cb);
// Finish hooking interfaces up, after low-level initialization is