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

Unified Diff: sandbox/win/src/registry_policy.h

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_interception.cc ('k') | sandbox/win/src/registry_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/registry_policy.h
diff --git a/sandbox/win/src/registry_policy.h b/sandbox/win/src/registry_policy.h
index 69af8415d2492952a53bda4d253f859ba1539432..ddea1bf5a14ea22fa090daab2b452eab4082c292 100644
--- a/sandbox/win/src/registry_policy.h
+++ b/sandbox/win/src/registry_policy.h
@@ -5,9 +5,10 @@
#ifndef SANDBOX_SRC_REGISTRY_POLICY_H__
#define SANDBOX_SRC_REGISTRY_POLICY_H__
+#include <stdint.h>
+
#include <string>
-#include "base/basictypes.h"
#include "base/strings/string16.h"
#include "sandbox/win/src/crosscall_server.h"
#include "sandbox/win/src/nt_internals.h"
@@ -31,12 +32,12 @@ class RegistryPolicy {
// API that is compatible with the IPC-received parameters.
static bool CreateKeyAction(EvalResult eval_result,
const ClientInfo& client_info,
- const base::string16 &key,
- uint32 attributes,
+ const base::string16& key,
+ uint32_t attributes,
HANDLE root_directory,
- uint32 desired_access,
- uint32 title_index,
- uint32 create_options,
+ uint32_t desired_access,
+ uint32_t title_index,
+ uint32_t create_options,
HANDLE* handle,
NTSTATUS* nt_status,
ULONG* disposition);
@@ -44,13 +45,13 @@ class RegistryPolicy {
// Performs the desired policy action on an open request with an
// API that is compatible with the IPC-received parameters.
static bool OpenKeyAction(EvalResult eval_result,
- const ClientInfo& client_info,
- const base::string16 &key,
- uint32 attributes,
- HANDLE root_directory,
- uint32 desired_access,
- HANDLE* handle,
- NTSTATUS* nt_status);
+ const ClientInfo& client_info,
+ const base::string16& key,
+ uint32_t attributes,
+ HANDLE root_directory,
+ uint32_t desired_access,
+ HANDLE* handle,
+ NTSTATUS* nt_status);
};
} // namespace sandbox
« no previous file with comments | « sandbox/win/src/registry_interception.cc ('k') | sandbox/win/src/registry_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698