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

Unified Diff: ppapi/native_client/src/trusted/plugin/plugin.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/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

Powered by Google App Engine
This is Rietveld 408576698