blob: ac1c8f404ceb1cc19288850a299e447f8205a2e9 [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.
#ifndef CONTENT_BROWSER_SANDBOX_PARAMETERS_MAC_H_
#define CONTENT_BROWSER_SANDBOX_PARAMETERS_MAC_H_
#include "content/common/content_export.h"
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.
CONTENT_EXPORT void SetupCommonSandboxParameters(
sandbox::SeatbeltExecClient* client);
CONTENT_EXPORT void SetupCDMSandboxParameters(
sandbox::SeatbeltExecClient* client);
CONTENT_EXPORT void SetupNetworkSandboxParameters(
sandbox::SeatbeltExecClient* client);
CONTENT_EXPORT void SetupPPAPISandboxParameters(
sandbox::SeatbeltExecClient* client);
CONTENT_EXPORT void SetupUtilitySandboxParameters(
sandbox::SeatbeltExecClient* client,
const base::CommandLine& command_line);
} // namespace content
#endif // CONTENT_BROWSER_SANDBOX_PARAMETERS_MAC_H_