summaryrefslogtreecommitdiff
path: root/chromium/sandbox/win/src/policy_broker.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/sandbox/win/src/policy_broker.h')
-rw-r--r--chromium/sandbox/win/src/policy_broker.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/chromium/sandbox/win/src/policy_broker.h b/chromium/sandbox/win/src/policy_broker.h
new file mode 100644
index 00000000000..1c5cc26c236
--- /dev/null
+++ b/chromium/sandbox/win/src/policy_broker.h
@@ -0,0 +1,23 @@
+// Copyright (c) 2006-2010 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 SANDBOX_SRC_POLICY_BROKER_H_
+#define SANDBOX_SRC_POLICY_BROKER_H_
+
+#include "sandbox/win/src/interception.h"
+
+namespace sandbox {
+
+class TargetProcess;
+
+// Sets up interceptions not controlled by explicit policies.
+bool SetupBasicInterceptions(InterceptionManager* manager);
+
+// Sets up imports from NTDLL for the given target process so the interceptions
+// can work.
+bool SetupNtdllImports(TargetProcess *child);
+
+} // namespace sandbox
+
+#endif // SANDBOX_SRC_POLICY_BROKER_H_