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_ |