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 |