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

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

Issue 10689170: Move the Windows sandbox to sandbox/win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on top of tree (properly this time) 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/sandbox_factory.h ('k') | sandbox/src/sandbox_nt_util.h » ('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_SANDBOX_NT_TYPES_H__
6 #define SANDBOX_SRC_SANDBOX_NT_TYPES_H__
7
8 #include "sandbox/src/nt_internals.h"
9
10 namespace sandbox {
11
12 struct NtExports {
13 NtAllocateVirtualMemoryFunction AllocateVirtualMemory;
14 NtCloseFunction Close;
15 NtDuplicateObjectFunction DuplicateObject;
16 NtFreeVirtualMemoryFunction FreeVirtualMemory;
17 NtMapViewOfSectionFunction MapViewOfSection;
18 NtProtectVirtualMemoryFunction ProtectVirtualMemory;
19 NtQueryInformationProcessFunction QueryInformationProcess;
20 NtQueryObjectFunction QueryObject;
21 NtQuerySectionFunction QuerySection;
22 NtQueryVirtualMemoryFunction QueryVirtualMemory;
23 NtUnmapViewOfSectionFunction UnmapViewOfSection;
24 RtlAllocateHeapFunction RtlAllocateHeap;
25 RtlAnsiStringToUnicodeStringFunction RtlAnsiStringToUnicodeString;
26 RtlCompareUnicodeStringFunction RtlCompareUnicodeString;
27 RtlCreateHeapFunction RtlCreateHeap;
28 RtlCreateUserThreadFunction RtlCreateUserThread;
29 RtlDestroyHeapFunction RtlDestroyHeap;
30 RtlFreeHeapFunction RtlFreeHeap;
31 _strnicmpFunction _strnicmp;
32 strlenFunction strlen;
33 wcslenFunction wcslen;
34 };
35
36 // This is the value used for the ntdll level allocator.
37 enum AllocationType {
38 NT_ALLOC,
39 NT_PLACE,
40 NT_PAGE
41 };
42
43 } // namespace sandbox
44
45
46 #endif // SANDBOX_SRC_SANDBOX_NT_TYPES_H__
OLDNEW
« no previous file with comments | « sandbox/src/sandbox_factory.h ('k') | sandbox/src/sandbox_nt_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698