Revert "[M120 Migration]Fix for crash during chrome exit"
[platform/framework/web/chromium-efl.git] / printing / sandbox / print_backend_sandbox_hook_linux.h
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.
4
5 #ifndef PRINTING_SANDBOX_PRINT_BACKEND_SANDBOX_HOOK_LINUX_H_
6 #define PRINTING_SANDBOX_PRINT_BACKEND_SANDBOX_HOOK_LINUX_H_
7
8 #include "base/component_export.h"
9 #include "sandbox/policy/linux/sandbox_linux.h"
10
11 namespace printing {
12
13 // Setup allowed commands and filesystem permissions for print backend service
14 // sandboxed process.
15 COMPONENT_EXPORT(PRINTING)
16 bool PrintBackendPreSandboxHook(sandbox::policy::SandboxLinux::Options options);
17
18 }  // namespace printing
19
20 #endif  // PRINTING_SANDBOX_PRINT_BACKEND_SANDBOX_HOOK_LINUX_H_