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

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: Oops, forgot to "git add" new files 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
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..428c768eda060cb9ab645689f360eeb6828cbe9c 100644
--- a/chrome/app/chrome_main_delegate.cc
+++ b/chrome/app/chrome_main_delegate.cc
@@ -71,8 +71,8 @@
#endif
#if !defined(DISABLE_NACL) && defined(OS_LINUX)
+#include "components/nacl/app/nacl_fork_delegates_linux.h"
#include "components/nacl/common/nacl_paths.h"
-#include "components/nacl/zygote/nacl_fork_delegate_linux.h"
#endif
#if defined(OS_CHROMEOS)
@@ -858,7 +858,7 @@ bool ChromeMainDelegate::DelaySandboxInitialization(
void ChromeMainDelegate::ZygoteStarting(
ScopedVector<content::ZygoteForkDelegate>* delegates) {
#if !defined(DISABLE_NACL)
- delegates->push_back(new NaClForkDelegate());
+ nacl::AddNaClZygoteForkDelegates(delegates);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698