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

Side by Side Diff: content/zygote/zygote_main.h

Issue 2647273002: Remove ScopedVector from content::ZygoteMain() (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « content/zygote/zygote_linux.cc ('k') | content/zygote/zygote_main_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « content/zygote/zygote_linux.cc ('k') | content/zygote/zygote_main_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698