diff options
author | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-05 16:11:35 +0000 |
---|---|---|
committer | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-05 16:11:35 +0000 |
commit | b98b0decec407b51de69cd60bf4c0c903d65f8e1 (patch) | |
tree | 167ab65b3bee9af92d792ba1fa37973741983263 /chrome/browser/utility_process_host.cc | |
parent | 766a6923903d8aa4f2d15f603b0f628e97980426 (diff) | |
download | chromium_src-b98b0decec407b51de69cd60bf4c0c903d65f8e1.zip chromium_src-b98b0decec407b51de69cd60bf4c0c903d65f8e1.tar.gz chromium_src-b98b0decec407b51de69cd60bf4c0c903d65f8e1.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/utility_process_host.cc')
-rw-r--r-- | chrome/browser/utility_process_host.cc | 7 |
1 files changed, 7 insertions, 0 deletions
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"); |