Index: sandbox/win/src/sandbox_nt_util.h |
diff --git a/sandbox/win/src/sandbox_nt_util.h b/sandbox/win/src/sandbox_nt_util.h |
index 83dd7c090e969abfa192fd24fdabc6deaa9dcc2f..3dee9329d2e556f64fbc41876382cbb508101975 100644 |
--- a/sandbox/win/src/sandbox_nt_util.h |
+++ b/sandbox/win/src/sandbox_nt_util.h |
@@ -6,8 +6,9 @@ |
#define SANDBOX_SRC_SANDBOX_NT_UTIL_H_ |
#include <intrin.h> |
+#include <stdint.h> |
-#include "base/basictypes.h" |
+#include "base/macros.h" |
#include "sandbox/win/src/nt_internals.h" |
#include "sandbox/win/src/sandbox_nt_types.h" |
@@ -101,7 +102,9 @@ NTSTATUS CopyData(void* destination, const void* source, size_t bytes); |
// Copies the name from an object attributes. |
NTSTATUS AllocAndCopyName(const OBJECT_ATTRIBUTES* in_object, |
- wchar_t** out_name, uint32* attributes, HANDLE* root); |
+ wchar_t** out_name, |
+ uint32_t* attributes, |
+ HANDLE* root); |
// Determine full path name from object root and path. |
NTSTATUS AllocAndGetFullPath(HANDLE root, |
@@ -134,7 +137,7 @@ enum MappedModuleFlags { |
// } |
// InsertYourLogicHere(name); |
// operator delete(name, NT_ALLOC); |
-UNICODE_STRING* GetImageInfoFromModule(HMODULE module, uint32* flags); |
+UNICODE_STRING* GetImageInfoFromModule(HMODULE module, uint32_t* flags); |
// Returns the full path and filename for a given dll. |
// May return NULL if the provided address is not backed by a named section, or |
@@ -182,8 +185,9 @@ class AutoProtectMemory { |
// Returns true if the file_rename_information structure is supported by our |
// rename handler. |
-bool IsSupportedRenameCall(FILE_RENAME_INFORMATION* file_info, DWORD length, |
- uint32 file_info_class); |
+bool IsSupportedRenameCall(FILE_RENAME_INFORMATION* file_info, |
+ DWORD length, |
+ uint32_t file_info_class); |
} // namespace sandbox |