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

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

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 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 fef727dac7d2fc381edc4a955e84f515d3b3f6f3..267a592bf00b34494c8c83830b1b0dd2af2dcd5c 100644
--- a/sandbox/win/src/registry_dispatcher.cc
+++ b/sandbox/win/src/registry_dispatcher.cc
@@ -3,8 +3,6 @@
// found in the LICENSE file.
#include "sandbox/win/src/registry_dispatcher.h"
-
-#include <stdint.h>
#include "base/win/scoped_handle.h"
#include "base/win/windows_version.h"
@@ -12,12 +10,12 @@
#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 {
@@ -81,11 +79,11 @@
bool RegistryDispatcher::NtCreateKey(IPCInfo* ipc,
base::string16* name,
- uint32_t attributes,
+ uint32 attributes,
HANDLE root,
- uint32_t desired_access,
- uint32_t title_index,
- uint32_t create_options) {
+ uint32 desired_access,
+ uint32 title_index,
+ uint32 create_options) {
base::win::ScopedHandle root_handle;
base::string16 real_path = *name;
@@ -131,9 +129,9 @@
bool RegistryDispatcher::NtOpenKey(IPCInfo* ipc,
base::string16* name,
- uint32_t attributes,
+ uint32 attributes,
HANDLE root,
- uint32_t desired_access) {
+ uint32 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