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

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: Rebase Created 6 years, 9 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..24768831bd780ffbad8de1f4a17f6c60db707027 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,7 @@ class Plugin : public pp::Instance {
// interaction with the page.
DONE = 4
};
+
bool nexe_error_reported() const { return nexe_error_reported_; }
void set_nexe_error_reported(bool val) {
nexe_error_reported_ = val;
@@ -388,6 +390,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
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/nacl_entry_points.h ('k') | ppapi/native_client/src/trusted/plugin/plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698