Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(743)

Side by Side Diff: sandbox/src/dep.h

Issue 10783004: Move Windows Sandbox, trybots version (don't commit me!) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to top of tree Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sandbox/src/crosscall_server.cc ('k') | sandbox/src/dep.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2006-2008 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.
4
5 #ifndef SANDBOX_SRC_DEP_H__
6 #define SANDBOX_SRC_DEP_H__
7
8 namespace sandbox {
9
10 enum DepEnforcement {
11 // DEP is completely disabled.
12 DEP_DISABLED,
13 // DEP is permanently enforced.
14 DEP_ENABLED,
15 // DEP with support for ATL7 thunking is permanently enforced.
16 DEP_ENABLED_ATL7_COMPAT,
17 };
18
19 // Change the Data Execution Prevention (DEP) status for the current process.
20 // Once enabled, it cannot be disabled.
21 bool SetCurrentProcessDEP(DepEnforcement enforcement);
22
23 } // namespace sandbox
24
25 #endif // SANDBOX_SRC_DEP_H__
OLDNEW
« no previous file with comments | « sandbox/src/crosscall_server.cc ('k') | sandbox/src/dep.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698