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

Side by Side Diff: sandbox/win/src/target_process.h

Issue 1837483003: Move base::FreeDeleter into its own header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SANDBOX_WIN_SRC_TARGET_PROCESS_H_ 5 #ifndef SANDBOX_WIN_SRC_TARGET_PROCESS_H_
6 #define SANDBOX_WIN_SRC_TARGET_PROCESS_H_ 6 #define SANDBOX_WIN_SRC_TARGET_PROCESS_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 #include <stddef.h> 9 #include <stddef.h>
10 #include <stdint.h> 10 #include <stdint.h>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/free_deleter.h"
13 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
14 #include "base/win/scoped_handle.h" 15 #include "base/win/scoped_handle.h"
15 #include "base/win/scoped_process_information.h" 16 #include "base/win/scoped_process_information.h"
16 #include "sandbox/win/src/crosscall_server.h" 17 #include "sandbox/win/src/crosscall_server.h"
17 #include "sandbox/win/src/sandbox_types.h" 18 #include "sandbox/win/src/sandbox_types.h"
18 19
19 namespace base { 20 namespace base {
20 namespace win { 21 namespace win {
21 22
22 class StartupInformation; 23 class StartupInformation;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 }; 135 };
135 136
136 // Creates a mock TargetProcess used for testing interceptions. 137 // Creates a mock TargetProcess used for testing interceptions.
137 // TODO(cpu): It seems that this method is not going to be used anymore. 138 // TODO(cpu): It seems that this method is not going to be used anymore.
138 TargetProcess* MakeTestTargetProcess(HANDLE process, HMODULE base_address); 139 TargetProcess* MakeTestTargetProcess(HANDLE process, HMODULE base_address);
139 140
140 141
141 } // namespace sandbox 142 } // namespace sandbox
142 143
143 #endif // SANDBOX_WIN_SRC_TARGET_PROCESS_H_ 144 #endif // SANDBOX_WIN_SRC_TARGET_PROCESS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698