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

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

Issue 1539423002: Revert of Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « sandbox/win/src/sandbox_factory.h ('k') | sandbox/win/src/sandbox_nt_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_SANDBOX_NT_UTIL_H_ 5 #ifndef SANDBOX_SRC_SANDBOX_NT_UTIL_H_
6 #define SANDBOX_SRC_SANDBOX_NT_UTIL_H_ 6 #define SANDBOX_SRC_SANDBOX_NT_UTIL_H_
7 7
8 #include <intrin.h> 8 #include <intrin.h>
9 #include <stddef.h>
10 #include <stdint.h> 9 #include <stdint.h>
11 10
12 #include "base/macros.h" 11 #include "base/macros.h"
13 #include "sandbox/win/src/nt_internals.h" 12 #include "sandbox/win/src/nt_internals.h"
14 #include "sandbox/win/src/sandbox_nt_types.h" 13 #include "sandbox/win/src/sandbox_nt_types.h"
15 14
16 // Placement new and delete to be used from ntdll interception code. 15 // Placement new and delete to be used from ntdll interception code.
17 void* __cdecl operator new(size_t size, sandbox::AllocationType type, 16 void* __cdecl operator new(size_t size, sandbox::AllocationType type,
18 void* near_to = NULL); 17 void* near_to = NULL);
19 void __cdecl operator delete(void* memory, sandbox::AllocationType type); 18 void __cdecl operator delete(void* memory, sandbox::AllocationType type);
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 // Returns true if the file_rename_information structure is supported by our 186 // Returns true if the file_rename_information structure is supported by our
188 // rename handler. 187 // rename handler.
189 bool IsSupportedRenameCall(FILE_RENAME_INFORMATION* file_info, 188 bool IsSupportedRenameCall(FILE_RENAME_INFORMATION* file_info,
190 DWORD length, 189 DWORD length,
191 uint32_t file_info_class); 190 uint32_t file_info_class);
192 191
193 } // namespace sandbox 192 } // namespace sandbox
194 193
195 194
196 #endif // SANDBOX_SRC_SANDBOX_NT_UTIL_H__ 195 #endif // SANDBOX_SRC_SANDBOX_NT_UTIL_H__
OLDNEW
« no previous file with comments | « sandbox/win/src/sandbox_factory.h ('k') | sandbox/win/src/sandbox_nt_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698