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

Unified Diff: chrome/browser/extensions/extension_management_api.cc

Issue 8770025: Zygote most of the uses of the utility process on Linux (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month 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: chrome/browser/extensions/extension_management_api.cc
diff --git a/chrome/browser/extensions/extension_management_api.cc b/chrome/browser/extensions/extension_management_api.cc
index 361a4ae28a2d32183666544f3dfa7eac8a466117..1b746b1d28c2f7537f75950683c2708ba14ece1b 100644
--- a/chrome/browser/extensions/extension_management_api.cc
+++ b/chrome/browser/extensions/extension_management_api.cc
@@ -212,6 +212,9 @@ class SafeManifestJSONParser : public UtilityProcessHost::Client {
void StartWorkOnIOThread() {
CHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
utility_host_ = new UtilityProcessHost(this, BrowserThread::IO);
+#if defined(OS_LINUX)
+ utility_host_->set_should_use_zygote(true);
Aaron Boodman 2011/12/02 03:10:04 Since most call sites want the zygote enabled, how
Jorge Lucangeli Obes 2011/12/02 18:27:16 The good thing about defaulting to false is that w
Jorge Lucangeli Obes 2011/12/02 20:43:48 Actually, scratch that. I'm pretty sure I got all
+#endif
utility_host_->Send(new ChromeUtilityMsg_ParseJSON(manifest_));
}
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_updater.cc » ('j') | content/browser/utility_process_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698