Index: sandbox/win/src/process_thread_policy.cc |
diff --git a/sandbox/win/src/process_thread_policy.cc b/sandbox/win/src/process_thread_policy.cc |
index b58a287ed2d5937917b480fd30bbfe4c7acc5d97..b4976c0bbebeaefc8cfb9cdf57c9533d2c3c0b96 100644 |
--- a/sandbox/win/src/process_thread_policy.cc |
+++ b/sandbox/win/src/process_thread_policy.cc |
@@ -4,6 +4,8 @@ |
#include "sandbox/win/src/process_thread_policy.h" |
+#include <stdint.h> |
+ |
#include <string> |
#include "base/memory/scoped_ptr.h" |
@@ -101,8 +103,8 @@ bool ProcessPolicy::GenerateRules(const wchar_t* name, |
} |
NTSTATUS ProcessPolicy::OpenThreadAction(const ClientInfo& client_info, |
- uint32 desired_access, |
- uint32 thread_id, |
+ uint32_t desired_access, |
+ uint32_t thread_id, |
HANDLE* handle) { |
*handle = NULL; |
@@ -132,8 +134,8 @@ NTSTATUS ProcessPolicy::OpenThreadAction(const ClientInfo& client_info, |
} |
NTSTATUS ProcessPolicy::OpenProcessAction(const ClientInfo& client_info, |
- uint32 desired_access, |
- uint32 process_id, |
+ uint32_t desired_access, |
+ uint32_t process_id, |
HANDLE* handle) { |
*handle = NULL; |
@@ -164,7 +166,7 @@ NTSTATUS ProcessPolicy::OpenProcessAction(const ClientInfo& client_info, |
NTSTATUS ProcessPolicy::OpenProcessTokenAction(const ClientInfo& client_info, |
HANDLE process, |
- uint32 desired_access, |
+ uint32_t desired_access, |
HANDLE* handle) { |
*handle = NULL; |
NtOpenProcessTokenFunction NtOpenProcessToken = NULL; |
@@ -188,8 +190,8 @@ NTSTATUS ProcessPolicy::OpenProcessTokenAction(const ClientInfo& client_info, |
NTSTATUS ProcessPolicy::OpenProcessTokenExAction(const ClientInfo& client_info, |
HANDLE process, |
- uint32 desired_access, |
- uint32 attributes, |
+ uint32_t desired_access, |
+ uint32_t attributes, |
HANDLE* handle) { |
*handle = NULL; |
NtOpenProcessTokenExFunction NtOpenProcessTokenEx = NULL; |