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

Unified Diff: content/public/app/content_main_delegate.h

Issue 269413004: Add support for multiple zygote fork delegates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: IWYU Created 6 years, 7 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/app/content_main_runner.cc ('k') | content/public/app/content_main_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/app/content_main_delegate.h
diff --git a/content/public/app/content_main_delegate.h b/content/public/app/content_main_delegate.h
index 9b94b98d46c8a38886cfa2774040724c104afc2f..6191d7815e6841b2c857b9f93f8f98bb56329d35 100644
--- a/content/public/app/content_main_delegate.h
+++ b/content/public/app/content_main_delegate.h
@@ -10,6 +10,9 @@
#include "build/build_config.h"
#include "content/common/content_export.h"
+template <typename>
+class ScopedVector;
+
namespace content {
class ContentBrowserClient;
@@ -65,8 +68,9 @@ class CONTENT_EXPORT ContentMainDelegate {
#elif defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_IOS)
// Tells the embedder that the zygote process is starting, and allows it to
- // specify a zygote delegate if it wishes.
- virtual ZygoteForkDelegate* ZygoteStarting();
+ // specify one or more zygote delegates if it wishes by storing them in
+ // |*delegates|.
+ virtual void ZygoteStarting(ScopedVector<ZygoteForkDelegate>* delegates);
// Called every time the zygote process forks.
virtual void ZygoteForked() {}
« no previous file with comments | « content/app/content_main_runner.cc ('k') | content/public/app/content_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698