Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Unified Diff: ppapi/api/private/ppb_nacl_private.idl

Issue 177113009: Support non-SFI mode in NaCl manifest file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 f190ea34240aa0febc2b8f72d4d47762f257365f..93d9f15bb38b20e7f230e3b5c00ba1f5bad921f4 100644
--- a/ppapi/api/private/ppb_nacl_private.idl
+++ b/ppapi/api/private/ppb_nacl_private.idl
@@ -134,6 +134,8 @@ interface PPB_NaCl_Private {
* 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.
+ * The |enable_nonsfi| flag indicates whether or not nonsfi-mode is enabled
+ * on this plugin.
*/
void LaunchSelLdr([in] PP_Instance instance,
[in] str_t alleged_url,
@@ -143,6 +145,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_Bool enable_nonsfi,
[out] mem_t imc_handle,
[out] PP_Var error_message,
[in] PP_CompletionCallback callback);
@@ -194,6 +197,9 @@ interface PPB_NaCl_Private {
/* Return the number of processors in the system as reported by the OS */
int32_t GetNumberOfProcessors();
+ /* Return the true if the non-SFI mode is enabled. */
Mark Seaborn 2014/02/27 17:10:22 "Return whether..."
hidehiko 2014/02/28 06:41:54 Done.
+ PP_Bool IsNonSFIEnabled();
+
/* Create a temporary file, which will be deleted by the time the
* last handle is closed (or earlier on POSIX systems), to use for
* the nexe with the cache information given by |pexe_url|,

Powered by Google App Engine
This is Rietveld 408576698