security/sandbox/win/src/policy_broker.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/sandbox/win/src/policy_broker.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +// Copyright (c) 2006-2010 The Chromium Authors. All rights reserved.
     1.5 +// Use of this source code is governed by a BSD-style license that can be
     1.6 +// found in the LICENSE file.
     1.7 +
     1.8 +#ifndef SANDBOX_SRC_POLICY_BROKER_H_
     1.9 +#define SANDBOX_SRC_POLICY_BROKER_H_
    1.10 +
    1.11 +#include "sandbox/win/src/interception.h"
    1.12 +
    1.13 +namespace sandbox {
    1.14 +
    1.15 +class TargetProcess;
    1.16 +
    1.17 +// Sets up interceptions not controlled by explicit policies.
    1.18 +bool SetupBasicInterceptions(InterceptionManager* manager);
    1.19 +
    1.20 +// Sets up imports from NTDLL for the given target process so the interceptions
    1.21 +// can work.
    1.22 +bool SetupNtdllImports(TargetProcess *child);
    1.23 +
    1.24 +}  // namespace sandbox
    1.25 +
    1.26 +#endif  // SANDBOX_SRC_POLICY_BROKER_H_

mercurial