blob: bd6e1a44549488ccd8fc1ece2adc8e3880902128 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/service_manager/sandbox/sandbox_type.h"
namespace base {
struct LaunchOptions;
} // namespace base
namespace content {
// Modifies the process launch |options| to achieve the level of isolation
// appropriate for the sandbox |type|. The caller may then add any
// descriptors or handles afterward to grant additional capabiltiies to the new
// process.
void UpdateLaunchOptionsForSandbox(service_manager::SandboxType type,
base::LaunchOptions* options);
} // namespace content