| Index: sandbox/win/src/process_thread_policy.h
|
| diff --git a/sandbox/win/src/process_thread_policy.h b/sandbox/win/src/process_thread_policy.h
|
| index a66b52eb2f03801eb44c06e3a7366c34fb8933c0..2871dcaa276b3b660a1f202487644600e26b21da 100644
|
| --- a/sandbox/win/src/process_thread_policy.h
|
| +++ b/sandbox/win/src/process_thread_policy.h
|
| @@ -5,12 +5,11 @@
|
| #ifndef SANDBOX_SRC_PROCESS_THREAD_POLICY_H_
|
| #define SANDBOX_SRC_PROCESS_THREAD_POLICY_H_
|
|
|
| -#include <stdint.h>
|
| -
|
| #include <string>
|
|
|
| #include "sandbox/win/src/policy_low_level.h"
|
|
|
| +#include "base/basictypes.h"
|
| #include "base/strings/string16.h"
|
| #include "sandbox/win/src/crosscall_server.h"
|
| #include "sandbox/win/src/sandbox_policy.h"
|
| @@ -37,16 +36,16 @@
|
| // is the thread_id to be opened.
|
| // The function returns the return value of NtOpenThread.
|
| static NTSTATUS OpenThreadAction(const ClientInfo& client_info,
|
| - uint32_t desired_access,
|
| - uint32_t thread_id,
|
| + uint32 desired_access,
|
| + uint32 thread_id,
|
| HANDLE* handle);
|
|
|
| // Opens the process id passed in and returns the duplicated handle to
|
| // the child. We only allow the child processes to open themselves. Any other
|
| // pid open is denied.
|
| static NTSTATUS OpenProcessAction(const ClientInfo& client_info,
|
| - uint32_t desired_access,
|
| - uint32_t process_id,
|
| + uint32 desired_access,
|
| + uint32 process_id,
|
| HANDLE* handle);
|
|
|
| // Opens the token associated with the process and returns the duplicated
|
| @@ -54,7 +53,7 @@
|
| // token (using ::GetCurrentProcess()).
|
| static NTSTATUS OpenProcessTokenAction(const ClientInfo& client_info,
|
| HANDLE process,
|
| - uint32_t desired_access,
|
| + uint32 desired_access,
|
| HANDLE* handle);
|
|
|
| // Opens the token associated with the process and returns the duplicated
|
| @@ -62,8 +61,8 @@
|
| // token (using ::GetCurrentProcess()).
|
| static NTSTATUS OpenProcessTokenExAction(const ClientInfo& client_info,
|
| HANDLE process,
|
| - uint32_t desired_access,
|
| - uint32_t attributes,
|
| + uint32 desired_access,
|
| + uint32 attributes,
|
| HANDLE* handle);
|
|
|
| // Processes a 'CreateProcessW()' request from the target.
|
|
|