blob: 87692c6151c28126f197abe2903791e8c4ebcb95 [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.
namespace base {
class CommandLine;
namespace sandbox {
class SeatbeltExecClient;
namespace content {
// All of the below functions populate the |client| with the parameters that the
// sandbox needs to resolve information that cannot be known at build time, such
// as the user's home directory.
void SetupCommonSandboxParameters(sandbox::SeatbeltExecClient* client);
void SetupCDMSandboxParameters(sandbox::SeatbeltExecClient* client);
void SetupPPAPISandboxParameters(sandbox::SeatbeltExecClient* client);
void SetupUtilitySandboxParameters(sandbox::SeatbeltExecClient* client,
const base::CommandLine& command_line);
} // namespace content