From b98b0decec407b51de69cd60bf4c0c903d65f8e1 Mon Sep 17 00:00:00 2001 From: "asargent@chromium.org" Date: Mon, 5 Oct 2009 16:11:35 +0000 Subject: Do not use the utility process on linux. We don't currently use the zygote to spawn the utility process, so after browser updates bad bugs can occur with mismatched subprocesses. See crbug.com/23327 and crbug.com/22703. BUG=23327 TEST=Extensions installation/autoupdate and New Tab Page tip download should still work. Review URL: http://codereview.chromium.org/256036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27997 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/utility_process_host.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'chrome/browser/utility_process_host.cc') diff --git a/chrome/browser/utility_process_host.cc b/chrome/browser/utility_process_host.cc index 32ef600..246e7ff 100644 --- a/chrome/browser/utility_process_host.cc +++ b/chrome/browser/utility_process_host.cc @@ -64,6 +64,13 @@ std::wstring UtilityProcessHost::GetUtilityProcessCmd() { } bool UtilityProcessHost::StartProcess(const FilePath& exposed_dir) { +#if defined(OS_POSIX) + // TODO(port): We should not reach here on linux (crbug.com/22703) or + // MacOS (crbug.com/8102) until problems related to autoupdate are fixed. + NOTREACHED(); + return false; +#endif + // Name must be set or metrics_service will crash in any test which // launches a UtilityProcessHost. set_name(L"utility process"); -- cgit v1.1