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

Unified Diff: components/nacl/app/nacl_fork_delegates_linux.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: components/nacl/app/nacl_fork_delegates_linux.cc
diff --git a/components/nacl/app/nacl_fork_delegates_linux.cc b/components/nacl/app/nacl_fork_delegates_linux.cc
new file mode 100644
index 0000000000000000000000000000000000000000..41188b57b5b9335994eca89518489fa52df1aab2
--- /dev/null
+++ b/components/nacl/app/nacl_fork_delegates_linux.cc
@@ -0,0 +1,18 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/nacl/app/nacl_fork_delegates_linux.h"
+
+#include "base/memory/scoped_vector.h"
+#include "components/nacl/zygote/nacl_fork_delegate_linux.h"
+
+namespace nacl {
+
+void AddNaClZygoteForkDelegates(
Mark Seaborn 2014/05/10 00:10:40 I think this belongs in components/nacl/zygote/nac
mdempsky 2014/05/10 01:58:52 Done.
+ ScopedVector<content::ZygoteForkDelegate>* delegates) {
+ delegates->push_back(new NaClForkDelegate(false /* nonsfi_mode */));
+ delegates->push_back(new NaClForkDelegate(true /* nonsfi_mode */));
+}
+
+} // namespace nacl

Powered by Google App Engine
This is Rietveld 408576698