summaryrefslogtreecommitdiff
path: root/chromium/content/zygote/zygote_main.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/zygote/zygote_main.h')
-rw-r--r--chromium/content/zygote/zygote_main.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/chromium/content/zygote/zygote_main.h b/chromium/content/zygote/zygote_main.h
new file mode 100644
index 00000000000..1959950a6c0
--- /dev/null
+++ b/chromium/content/zygote/zygote_main.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2013 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 CONTENT_ZYGOTE_ZYGOTE_MAIN_H_
+#define CONTENT_ZYGOTE_ZYGOTE_MAIN_H_
+
+#include <memory>
+#include <vector>
+
+#include "build/build_config.h"
+#include "content/common/content_export.h"
+
+namespace content {
+
+class ZygoteForkDelegate;
+
+// |delegate| must outlive this call.
+CONTENT_EXPORT bool ZygoteMain(
+ std::vector<std::unique_ptr<ZygoteForkDelegate>> fork_delegates);
+
+} // namespace content
+
+#endif // CONTENT_ZYGOTE_ZYGOTE_MAIN_H_