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

Unified Diff: sandbox/win/src/registry_dispatcher.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/registry_dispatcher.h ('k') | sandbox/win/src/registry_interception.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/registry_dispatcher.cc
diff --git a/sandbox/win/src/registry_dispatcher.cc b/sandbox/win/src/registry_dispatcher.cc
index 267a592bf00b34494c8c83830b1b0dd2af2dcd5c..fef727dac7d2fc381edc4a955e84f515d3b3f6f3 100644
--- a/sandbox/win/src/registry_dispatcher.cc
+++ b/sandbox/win/src/registry_dispatcher.cc
@@ -4,18 +4,20 @@
#include "sandbox/win/src/registry_dispatcher.h"
+#include <stdint.h>
+
#include "base/win/scoped_handle.h"
#include "base/win/windows_version.h"
#include "sandbox/win/src/crosscall_client.h"
#include "sandbox/win/src/interception.h"
#include "sandbox/win/src/interceptors.h"
#include "sandbox/win/src/ipc_tags.h"
-#include "sandbox/win/src/sandbox_nt_util.h"
#include "sandbox/win/src/policy_broker.h"
#include "sandbox/win/src/policy_params.h"
-#include "sandbox/win/src/sandbox.h"
#include "sandbox/win/src/registry_interception.h"
#include "sandbox/win/src/registry_policy.h"
+#include "sandbox/win/src/sandbox.h"
+#include "sandbox/win/src/sandbox_nt_util.h"
namespace {
@@ -79,11 +81,11 @@ bool RegistryDispatcher::SetupService(InterceptionManager* manager,
bool RegistryDispatcher::NtCreateKey(IPCInfo* ipc,
base::string16* name,
- uint32 attributes,
+ uint32_t attributes,
HANDLE root,
- uint32 desired_access,
- uint32 title_index,
- uint32 create_options) {
+ uint32_t desired_access,
+ uint32_t title_index,
+ uint32_t create_options) {
base::win::ScopedHandle root_handle;
base::string16 real_path = *name;
@@ -129,9 +131,9 @@ bool RegistryDispatcher::NtCreateKey(IPCInfo* ipc,
bool RegistryDispatcher::NtOpenKey(IPCInfo* ipc,
base::string16* name,
- uint32 attributes,
+ uint32_t attributes,
HANDLE root,
- uint32 desired_access) {
+ uint32_t desired_access) {
base::win::ScopedHandle root_handle;
base::string16 real_path = *name;
« no previous file with comments | « sandbox/win/src/registry_dispatcher.h ('k') | sandbox/win/src/registry_interception.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698