Index: ppapi/native_client/src/trusted/plugin/plugin.h |
diff --git a/ppapi/native_client/src/trusted/plugin/plugin.h b/ppapi/native_client/src/trusted/plugin/plugin.h |
index 04b058d9615c45650ca293868c542ab967de096c..c19bc4cce2748dda2b5dad431dcf699665d8caf1 100644 |
--- a/ppapi/native_client/src/trusted/plugin/plugin.h |
+++ b/ppapi/native_client/src/trusted/plugin/plugin.h |
@@ -89,6 +89,7 @@ class Plugin : public pp::Instance { |
// |
// Updates nacl_module_origin() and nacl_module_url(). |
void LoadNaClModule(nacl::DescWrapper* wrapper, |
+ bool uses_nonsfi_mode, |
bool enable_dyncode_syscalls, |
bool enable_exception_handling, |
bool enable_crash_throttling, |
@@ -179,6 +180,9 @@ class Plugin : public pp::Instance { |
// interaction with the page. |
DONE = 4 |
}; |
+ |
+ bool uses_nonsfi_mode() const { return uses_nonsfi_mode_; } |
+ void set_uses_nonsfi_mode(bool val) { uses_nonsfi_mode_ = val; } |
bool nexe_error_reported() const { return nexe_error_reported_; } |
void set_nexe_error_reported(bool val) { |
nexe_error_reported_ = val; |
@@ -388,6 +392,7 @@ class Plugin : public pp::Instance { |
nacl::string plugin_base_url_; |
nacl::string manifest_base_url_; |
nacl::string manifest_url_; |
+ bool uses_nonsfi_mode_; |
ReadyState nacl_ready_state_; |
bool nexe_error_reported_; // error or crash reported |