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

Unified Diff: ppapi/c/private/ppb_nacl_private.h

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/c/private/ppb_nacl_private.h
diff --git a/ppapi/c/private/ppb_nacl_private.h b/ppapi/c/private/ppb_nacl_private.h
index c26dce686d4cdd8ecd1c57db93aedf8da712dd2d..ca9709cc47c15c303c445819b63c9e7b6e2e575f 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 Feb 25 09:18:09 2014. */
+/* From private/ppb_nacl_private.idl modified Thu Feb 27 12:40:56 2014. */
#ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
#define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
@@ -157,6 +157,8 @@ struct PPB_NaCl_Private_1_0 {
* 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)(PP_Instance instance,
const char* alleged_url,
@@ -166,6 +168,7 @@ struct PPB_NaCl_Private_1_0 {
PP_Bool enable_dyncode_syscalls,
PP_Bool enable_exception_handling,
PP_Bool enable_crash_throttling,
+ PP_Bool enable_nonsfi,
void* imc_handle,
struct PP_Var* error_message,
struct PP_CompletionCallback callback);
@@ -209,6 +212,8 @@ struct PPB_NaCl_Private_1_0 {
PP_FileHandle (*CreateTemporaryFile)(PP_Instance instance);
/* Return the number of processors in the system as reported by the OS */
int32_t (*GetNumberOfProcessors)(void);
+ /* Return the true if the non-SFI mode is enabled. */
+ PP_Bool (*IsNonSFIEnabled)(void);
/* 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