OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_ZYGOTE_ZYGOTE_MAIN_H_ | 5 #ifndef CONTENT_ZYGOTE_ZYGOTE_MAIN_H_ |
6 #define CONTENT_ZYGOTE_ZYGOTE_MAIN_H_ | 6 #define CONTENT_ZYGOTE_ZYGOTE_MAIN_H_ |
7 | 7 |
8 template <typename> | 8 #include <memory> |
9 class ScopedVector; | 9 #include <vector> |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 struct MainFunctionParams; | 13 struct MainFunctionParams; |
14 class ZygoteForkDelegate; | 14 class ZygoteForkDelegate; |
15 | 15 |
16 bool ZygoteMain(const MainFunctionParams& params, | 16 bool ZygoteMain( |
17 ScopedVector<ZygoteForkDelegate> fork_delegates); | 17 const MainFunctionParams& params, |
| 18 std::vector<std::unique_ptr<ZygoteForkDelegate>> fork_delegates); |
18 | 19 |
19 } // namespace content | 20 } // namespace content |
20 | 21 |
21 #endif // CONTENT_ZYGOTE_ZYGOTE_MAIN_H_ | 22 #endif // CONTENT_ZYGOTE_ZYGOTE_MAIN_H_ |
OLD | NEW |