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

Unified Diff: chrome/app/chrome_main_delegate.cc

Issue 279693002: Split NaCl SFI and non-SFI helpers into separate processes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to jln feedback Created 6 years, 7 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
« no previous file with comments | « no previous file | components/nacl/zygote/nacl_fork_delegate_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_main_delegate.cc
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc
index 486cd42220d210c531f6fcaaa862f7ffb5dffb0e..ea2b07fa41cadc0ac3000d4520cb097be68e524b 100644
--- a/chrome/app/chrome_main_delegate.cc
+++ b/chrome/app/chrome_main_delegate.cc
@@ -858,7 +858,8 @@ bool ChromeMainDelegate::DelaySandboxInitialization(
void ChromeMainDelegate::ZygoteStarting(
ScopedVector<content::ZygoteForkDelegate>* delegates) {
#if !defined(DISABLE_NACL)
- delegates->push_back(new NaClForkDelegate());
+ delegates->push_back(new NaClForkDelegate(false /* nonsfi_mode */));
+ delegates->push_back(new NaClForkDelegate(true /* nonsfi_mode */));
Mark Seaborn 2014/05/09 22:44:48 This will launch an extra process at browser start
jln (very slow on Chromium) 2014/05/09 22:59:28 Good point, but let's make sure that we don't dupl
mdempsky 2014/05/09 23:49:35 Mark and I chatted about this over IM, and I belie
#endif
}
« no previous file with comments | « no previous file | components/nacl/zygote/nacl_fork_delegate_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698