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

Side by Side Diff: sandbox/win/src/internal_types.h

Issue 24296002: Sandbox: Update for Windows 8.1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SANDBOX_SRC_INTERNAL_TYPES_H_ 5 #ifndef SANDBOX_WIN_SRC_INTERNAL_TYPES_H_
6 #define SANDBOX_SRC_INTERNAL_TYPES_H_ 6 #define SANDBOX_WIN_SRC_INTERNAL_TYPES_H_
7 7
8 namespace sandbox { 8 namespace sandbox {
9 9
10 const wchar_t kNtdllName[] = L"ntdll.dll"; 10 const wchar_t kNtdllName[] = L"ntdll.dll";
11 const wchar_t kKerneldllName[] = L"kernel32.dll"; 11 const wchar_t kKerneldllName[] = L"kernel32.dll";
12 const wchar_t kKernelBasedllName[] = L"kernelbase.dll";
12 13
13 // Defines the supported C++ types encoding to numeric id. Like a poor's man 14 // Defines the supported C++ types encoding to numeric id. Like a poor's man
14 // RTTI. Note that true C++ RTTI will not work because the types are not 15 // RTTI. Note that true C++ RTTI will not work because the types are not
15 // polymorphic anyway. 16 // polymorphic anyway.
16 enum ArgType { 17 enum ArgType {
17 INVALID_TYPE = 0, 18 INVALID_TYPE = 0,
18 WCHAR_TYPE, 19 WCHAR_TYPE,
19 ULONG_TYPE, 20 ULONG_TYPE,
20 UNISTR_TYPE, 21 UNISTR_TYPE,
21 VOIDPTR_TYPE, 22 VOIDPTR_TYPE,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 66
66 private: 67 private:
67 union U { 68 union U {
68 void* vp; 69 void* vp;
69 unsigned __int32 i32; 70 unsigned __int32 i32;
70 } buffer_; 71 } buffer_;
71 }; 72 };
72 73
73 } // namespace sandbox 74 } // namespace sandbox
74 75
75 #endif // SANDBOX_SRC_INTERNAL_TYPES_H_ 76 #endif // SANDBOX_WIN_SRC_INTERNAL_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698