Print Preview: Refactoring print/cancel button and print summary.
[chromium-blink-merge.git] / content / common / sandbox_policy.h
blob55dc0c5dd9d302d1de55f9087f75e58692a3c5d5
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_SANDBOX_POLICY_H_
6 #define CONTENT_COMMON_SANDBOX_POLICY_H_
7 #pragma once
9 #include "base/process.h"
11 class CommandLine;
12 class FilePath;
14 namespace sandbox {
16 class BrokerServices;
18 void InitBrokerServices(sandbox::BrokerServices* broker_services);
20 // Starts a sandboxed process with the given directory unsandboxed
21 // and returns a handle to it.
22 base::ProcessHandle StartProcessWithAccess(CommandLine* cmd_line,
23 const FilePath& exposed_dir);
25 } // namespace sandbox
27 #endif // CONTENT_COMMON_SANDBOX_POLICY_H_