From 120be5d1b6455f4a97eaf560d12f0f78c8b1a107 Mon Sep 17 00:00:00 2001 From: "jeremy@chromium.org" Date: Thu, 3 Dec 2009 15:36:08 +0000 Subject: Add regex escaping code to Mac sandbox implementation and re-enable the utility process on OS X. Other changes: * An error initializing the sandbox on OS X is now treated as fatal. * Improved error reporting for sandbox-related failures. BUG=26492,23837 TEST=Installing extensions and themes should still work on OS X. Review URL: http://codereview.chromium.org/434077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33682 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/utility_process_host.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 9f7d647..352425a 100644 --- a/chrome/browser/utility_process_host.cc +++ b/chrome/browser/utility_process_host.cc @@ -55,9 +55,9 @@ FilePath UtilityProcessHost::GetUtilityProcessCmd() { } bool UtilityProcessHost::StartProcess(const FilePath& exposed_dir) { -#if defined(OS_POSIX) +#if defined(OS_LINUX) // TODO(port): We should not reach here on Linux (crbug.com/22703). - // (crbug.com/23837) covers enabling this on Linux/OS X. + // (crbug.com/23837) covers enabling this on Linux. NOTREACHED(); return false; #endif -- cgit v1.1