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

Unified Diff: components/nacl/browser/nacl_process_host.cc

Issue 100373005: Initial implementation of Bare Metal Mode for NaCl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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.cc
diff --git a/components/nacl/browser/nacl_process_host.cc b/components/nacl/browser/nacl_process_host.cc
index e44df8983c3ffb3b10462746e3eca25fc0ed93d9..82603269c64808774271de5755cb974246365ba3 100644
--- a/components/nacl/browser/nacl_process_host.cc
+++ b/components/nacl/browser/nacl_process_host.cc
@@ -759,6 +759,9 @@ bool NaClProcessHost::StartNaClExecution() {
process_->Send(new NaClProcessMsg_Start(params));
+ params.enable_nonsfi_mode = CommandLine::ForCurrentProcess()->HasSwitch(
Mark Seaborn 2013/12/10 19:56:44 This is after the message has been sent, so it doe
hidehiko 2013/12/11 07:56:14 Oops... Done.
+ switches::kEnableNaClNonSfiMode);
+
internal_->socket_for_sel_ldr = NACL_INVALID_HANDLE;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698