1 // Copyright 2021 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef PRINTING_SANDBOX_PRINT_BACKEND_SANDBOX_HOOK_LINUX_H_
6 #define PRINTING_SANDBOX_PRINT_BACKEND_SANDBOX_HOOK_LINUX_H_
8 #include "base/component_export.h"
9 #include "sandbox/policy/linux/sandbox_linux.h"
13 // Setup allowed commands and filesystem permissions for print backend service
15 COMPONENT_EXPORT(PRINTING)
16 bool PrintBackendPreSandboxHook(sandbox::policy::SandboxLinux::Options options);
18 } // namespace printing
20 #endif // PRINTING_SANDBOX_PRINT_BACKEND_SANDBOX_HOOK_LINUX_H_