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

Unified Diff: components/nacl/browser/nacl_process_host.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: components/nacl/browser/nacl_process_host.h
diff --git a/components/nacl/browser/nacl_process_host.h b/components/nacl/browser/nacl_process_host.h
index dd3ac86c4957e4415aa96c5c3c91c6556691fe83..32df6b86af357566e4efb2a281f97ff67481915c 100644
--- a/components/nacl/browser/nacl_process_host.h
+++ b/components/nacl/browser/nacl_process_host.h
@@ -58,6 +58,7 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate {
// to the crash throttling statistics, and also
// whether this process should not start when too
// many crashes have been observed.
+ // enable_nonsfi: whether the program should be loaded under non-SFI mode.
// off_the_record: was the process launched from an incognito renderer?
// profile_directory: is the path of current profile directory.
NaClProcessHost(const GURL& manifest_url,
@@ -67,6 +68,7 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate {
bool enable_dyncode_syscalls,
bool enable_exception_handling,
bool enable_crash_throttling,
+ bool enable_nonsfi,
bool off_the_record,
const base::FilePath& profile_directory);
virtual ~NaClProcessHost();
@@ -205,6 +207,7 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate {
bool enable_dyncode_syscalls_;
bool enable_exception_handling_;
bool enable_crash_throttling_;
+ bool enable_nonsfi_;
Mark Seaborn 2014/02/27 17:10:22 Nit: can we call this "enable_nonsfi_mode_"?
hidehiko 2014/02/28 06:41:54 Changed to uses_nonsfi_mode_.
bool off_the_record_;

Powered by Google App Engine
This is Rietveld 408576698