| // 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_ |
| |
| 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 |
| |
| #endif // CONTENT_BROWSER_SANDBOX_PARAMETERS_MAC_H_ |