| 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..84b6c82b5816d4925c6fc1ee4bbd1d3f2d5508f5 100644
|
| --- a/ppapi/native_client/src/trusted/plugin/plugin.h
|
| +++ b/ppapi/native_client/src/trusted/plugin/plugin.h
|
| @@ -92,6 +92,7 @@ class Plugin : public pp::Instance {
|
| bool enable_dyncode_syscalls,
|
| bool enable_exception_handling,
|
| bool enable_crash_throttling,
|
| + bool enable_nonsfi,
|
| const pp::CompletionCallback& init_done_cb,
|
| const pp::CompletionCallback& crash_cb);
|
|
|
| @@ -179,6 +180,9 @@ class Plugin : public pp::Instance {
|
| // interaction with the page.
|
| DONE = 4
|
| };
|
| +
|
| + bool nonsfi_enabled() const { return nonsfi_enabled_; }
|
| + void set_nonsfi_enabled(bool val) { nonsfi_enabled_ = 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 nonsfi_enabled_;
|
| ReadyState nacl_ready_state_;
|
| bool nexe_error_reported_; // error or crash reported
|
|
|
|
|