Index: sandbox/win/src/sync_policy.cc |
diff --git a/sandbox/win/src/sync_policy.cc b/sandbox/win/src/sync_policy.cc |
index 7ef094ff73e5c7c0faed13985f92466eda381965..379e8f455df16bd4e8e77ad87b11af85501aa28c 100644 |
--- a/sandbox/win/src/sync_policy.cc |
+++ b/sandbox/win/src/sync_policy.cc |
@@ -1,8 +1,6 @@ |
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
- |
-#include <stdint.h> |
#include <string> |
@@ -147,8 +145,8 @@ |
if (TargetPolicy::EVENTS_ALLOW_READONLY == semantics) { |
// We consider all flags that are not known to be readonly as potentially |
// used for write. |
- uint32_t allowed_flags = SYNCHRONIZE | GENERIC_READ | READ_CONTROL; |
- uint32_t restricted_flags = ~allowed_flags; |
+ uint32 allowed_flags = SYNCHRONIZE | GENERIC_READ | READ_CONTROL; |
+ uint32 restricted_flags = ~allowed_flags; |
open.AddNumberMatch(IF_NOT, OpenEventParams::ACCESS, restricted_flags, AND); |
} |
@@ -170,10 +168,10 @@ |
NTSTATUS SyncPolicy::CreateEventAction(EvalResult eval_result, |
const ClientInfo& client_info, |
- const base::string16& event_name, |
- uint32_t event_type, |
- uint32_t initial_state, |
- HANDLE* handle) { |
+ const base::string16 &event_name, |
+ uint32 event_type, |
+ uint32 initial_state, |
+ HANDLE *handle) { |
NtCreateEventFunction NtCreateEvent = NULL; |
ResolveNTFunctionPtr("NtCreateEvent", &NtCreateEvent); |
@@ -209,9 +207,9 @@ |
NTSTATUS SyncPolicy::OpenEventAction(EvalResult eval_result, |
const ClientInfo& client_info, |
- const base::string16& event_name, |
- uint32_t desired_access, |
- HANDLE* handle) { |
+ const base::string16 &event_name, |
+ uint32 desired_access, |
+ HANDLE *handle) { |
NtOpenEventFunction NtOpenEvent = NULL; |
ResolveNTFunctionPtr("NtOpenEvent", &NtOpenEvent); |