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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/zygote/zygote_main.h
diff --git a/content/zygote/zygote_main.h b/content/zygote/zygote_main.h
index 119210f14d4fe49372fba5277ece2833c1505144..f5a9a850866519557873ca26f3eb2644f5d22c78 100644
--- a/content/zygote/zygote_main.h
+++ b/content/zygote/zygote_main.h
@@ -5,16 +5,17 @@
#ifndef CONTENT_ZYGOTE_ZYGOTE_MAIN_H_
#define CONTENT_ZYGOTE_ZYGOTE_MAIN_H_
-template <typename>
-class ScopedVector;
+#include <memory>
+#include <vector>
namespace content {
struct MainFunctionParams;
class ZygoteForkDelegate;
-bool ZygoteMain(const MainFunctionParams& params,
- ScopedVector<ZygoteForkDelegate> fork_delegates);
+bool ZygoteMain(
+ const MainFunctionParams& params,
+ std::vector<std::unique_ptr<ZygoteForkDelegate>> fork_delegates);
} // namespace content
« 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