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

Unified Diff: content/public/browser/zygote_handle_linux.h

Issue 1643533006: Use a single, generic, global zygote to temporarily resolve perf regressions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: content/public/browser/zygote_handle_linux.h
diff --git a/content/public/browser/zygote_handle_linux.h b/content/public/browser/zygote_handle_linux.h
index b644c514b60775ae4c1c03cb73b3e15a53e5e315..93da60f8d763bded1452fb551392904b988de173 100644
--- a/content/public/browser/zygote_handle_linux.h
+++ b/content/public/browser/zygote_handle_linux.h
@@ -16,6 +16,11 @@ namespace content {
// ZygoteHandle used to communicate with it.
CONTENT_EXPORT ZygoteHandle CreateZygote();
+// Returns a handle to a global generic zygote object. This function allows the
+// browser to launch and use a single zygote process until the performance
+// issues around launching multiple zygotes are resolved.
+CONTENT_EXPORT ZygoteHandle GetGenericZygote();
+
} // namespace content
#endif // CONTENT_PUBLIC_BROWSER_ZYGOTE_HANDLE_LINUX_H_

Powered by Google App Engine
This is Rietveld 408576698