Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / content / public / common / sandboxed_process_launcher_delegate.cc
blob22f892835c835f3ce7a56f7686bfc4cadb3ac2a6
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.
5 #include "content/public/common/sandboxed_process_launcher_delegate.h"
7 namespace content {
9 #if defined(OS_WIN)
10 bool SandboxedProcessLauncherDelegate::ShouldLaunchElevated() {
11 return false;
14 bool SandboxedProcessLauncherDelegate::ShouldSandbox() {
15 return true;
18 #elif(OS_POSIX)
19 bool SandboxedProcessLauncherDelegate::ShouldUseZygote() {
20 return false;
23 base::EnvironmentMap SandboxedProcessLauncherDelegate::GetEnvironment() {
24 return base::EnvironmentMap();
26 #endif
28 SandboxType SandboxedProcessLauncherDelegate::GetSandboxType() {
29 return SANDBOX_TYPE_INVALID;
32 } // namespace content