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

Unified Diff: components/nacl/app/nacl_fork_delegates_linux.h

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.h
diff --git a/components/nacl/app/nacl_fork_delegates_linux.h b/components/nacl/app/nacl_fork_delegates_linux.h
new file mode 100644
index 0000000000000000000000000000000000000000..9327a83c1dbb50582ac75fb8ee0bff6eb3b8222c
--- /dev/null
+++ b/components/nacl/app/nacl_fork_delegates_linux.h
@@ -0,0 +1,23 @@
+// 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.
+
+#ifndef COMPONENTS_NACL_APP_NACL_FORK_DELEGATES_LINUX_H_
+#define COMPONENTS_NACL_APP_NACL_FORK_DELEGATES_LINUX_H_
+
+template <typename>
+class ScopedVector;
+
+namespace content {
+class ZygoteForkDelegate;
+} // namespace content;
+
+namespace nacl {
+
+// Appends any ZygoteForkDelegates needed by NaCl to |*delegates|.
+void AddNaClZygoteForkDelegates(
+ ScopedVector<content::ZygoteForkDelegate>* delegates);
+
+} // namespace nacl
+
+#endif // COMPONENTS_NACL_APP_NACL_FORK_DELEGATES_LINUX_H_

Powered by Google App Engine
This is Rietveld 408576698