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

Unified Diff: sandbox/win/src/process_thread_policy.cc

Issue 1538283002: Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: macros 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sandbox/win/src/process_thread_policy.h ('k') | sandbox/win/src/registry_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « sandbox/win/src/process_thread_policy.h ('k') | sandbox/win/src/registry_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698