sandboxed_process_launcher_delegate.cc revision a1401311d1ab56c4ed0a474bd38c108f75cb0cd9
1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "content/public/common/sandboxed_process_launcher_delegate.h"
6
7namespace content {
8
9#if defined(OS_WIN)
10  bool SandboxedProcessLauncherDelegate::ShouldLaunchElevated() {
11    return false;
12  }
13
14  bool SandboxedProcessLauncherDelegate::ShouldSandbox() {
15    return true;
16  }
17
18#elif(OS_POSIX)
19  bool SandboxedProcessLauncherDelegate::ShouldUseZygote() {
20    return false;
21  }
22
23  base::EnvironmentMap SandboxedProcessLauncherDelegate::GetEnvironment() {
24    return base::EnvironmentMap();
25  }
26#endif
27}  // namespace content
28