summaryrefslogtreecommitdiffstats
path: root/content/common/sandbox_init_mac.cc
diff options
context:
space:
mode:
authorxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-16 01:58:32 +0000
committerxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-16 01:58:32 +0000
commit4bcfcd26bb1ea8e52a2e215bc4c61323890994af (patch)
tree84e69694597013ed6c5027f9dd6e8d958c17f076 /content/common/sandbox_init_mac.cc
parentbd4c7d62e3c8a4b732e690c6fa6d43c943c3944b (diff)
downloadchromium_src-4bcfcd26bb1ea8e52a2e215bc4c61323890994af.zip
chromium_src-4bcfcd26bb1ea8e52a2e215bc4c61323890994af.tar.gz
chromium_src-4bcfcd26bb1ea8e52a2e215bc4c61323890994af.tar.bz2
Add TestConnectFailure, TestGetHandleFailure and TestConnectAndPipe to PPAPI Broker UI test.
Also fix wrong sandbox options for broker process on Windows and Mac. BUG=none TEST=none Review URL: http://codereview.chromium.org/8400024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110241 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/sandbox_init_mac.cc')
-rw-r--r--content/common/sandbox_init_mac.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/common/sandbox_init_mac.cc b/content/common/sandbox_init_mac.cc
index e39667b..86cf9e6 100644
--- a/content/common/sandbox_init_mac.cc
+++ b/content/common/sandbox_init_mac.cc
@@ -52,7 +52,8 @@ bool InitializeSandbox() {
} else if (process_type == switches::kGpuProcess) {
sandbox_process_type = Sandbox::SANDBOX_TYPE_GPU;
} else if ((process_type == switches::kPluginProcess) ||
- (process_type == switches::kServiceProcess)) {
+ (process_type == switches::kServiceProcess) ||
+ (process_type == switches::kPpapiBrokerProcess)) {
return true;
} else if (process_type == switches::kPpapiPluginProcess) {
sandbox_process_type = Sandbox::SANDBOX_TYPE_PPAPI;