summaryrefslogtreecommitdiffstats
path: root/sandbox/win/src/dep.h
diff options
context:
space:
mode:
authorjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-12 16:58:52 +0000
committerjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-12 16:58:52 +0000
commit4e7c72293596ed6a855a94fdedbb8bc6d91c583d (patch)
treeb018fcd4f2e7db1410b80e4d2dd49d3b469b5923 /sandbox/win/src/dep.h
parentc7e0995b1c61558a3a3d12848512e48fef3ade8a (diff)
downloadchromium_src-4e7c72293596ed6a855a94fdedbb8bc6d91c583d.zip
chromium_src-4e7c72293596ed6a855a94fdedbb8bc6d91c583d.tar.gz
chromium_src-4e7c72293596ed6a855a94fdedbb8bc6d91c583d.tar.bz2
Add sandbox support for Windows process mitigations
BUG=147752 Review URL: https://chromiumcodereview.appspot.com/10690058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156315 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/win/src/dep.h')
-rw-r--r--sandbox/win/src/dep.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/sandbox/win/src/dep.h b/sandbox/win/src/dep.h
deleted file mode 100644
index 9016285..0000000
--- a/sandbox/win/src/dep.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) 2006-2008 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_DEP_H__
-#define SANDBOX_SRC_DEP_H__
-
-namespace sandbox {
-
-enum DepEnforcement {
- // DEP is completely disabled.
- DEP_DISABLED,
- // DEP is permanently enforced.
- DEP_ENABLED,
- // DEP with support for ATL7 thunking is permanently enforced.
- DEP_ENABLED_ATL7_COMPAT,
-};
-
-// Change the Data Execution Prevention (DEP) status for the current process.
-// Once enabled, it cannot be disabled.
-bool SetCurrentProcessDEP(DepEnforcement enforcement);
-
-} // namespace sandbox
-
-#endif // SANDBOX_SRC_DEP_H__