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

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

Issue 2554863002: Cleanup remaining class/struct fwd declarations (Closed)
Patch Set: Style fixes Created 4 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 unified diff | Download patch
« no previous file with comments | « sandbox/win/src/broker_services.h ('k') | skia/ext/platform_device.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
(...skipping 10 matching lines...) Expand all
21 namespace base { 21 namespace base {
22 namespace win { 22 namespace win {
23 23
24 class StartupInformation; 24 class StartupInformation;
25 25
26 }; // namespace win 26 }; // namespace win
27 }; // namespace base 27 }; // namespace base
28 28
29 namespace sandbox { 29 namespace sandbox {
30 30
31 class AttributeList;
32 class SharedMemIPCServer; 31 class SharedMemIPCServer;
33 class ThreadProvider; 32 class ThreadProvider;
34 33
35 // TargetProcess models a target instance (child process). Objects of this 34 // TargetProcess models a target instance (child process). Objects of this
36 // class are owned by the Policy used to create them. 35 // class are owned by the Policy used to create them.
37 class TargetProcess { 36 class TargetProcess {
38 public: 37 public:
39 // The constructor takes ownership of |initial_token|, |lockdown_token| 38 // The constructor takes ownership of |initial_token|, |lockdown_token|
40 // and |lowbox_token|. 39 // and |lowbox_token|.
41 TargetProcess(base::win::ScopedHandle initial_token, 40 TargetProcess(base::win::ScopedHandle initial_token,
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 }; 138 };
140 139
141 // Creates a mock TargetProcess used for testing interceptions. 140 // Creates a mock TargetProcess used for testing interceptions.
142 // TODO(cpu): It seems that this method is not going to be used anymore. 141 // TODO(cpu): It seems that this method is not going to be used anymore.
143 TargetProcess* MakeTestTargetProcess(HANDLE process, HMODULE base_address); 142 TargetProcess* MakeTestTargetProcess(HANDLE process, HMODULE base_address);
144 143
145 144
146 } // namespace sandbox 145 } // namespace sandbox
147 146
148 #endif // SANDBOX_WIN_SRC_TARGET_PROCESS_H_ 147 #endif // SANDBOX_WIN_SRC_TARGET_PROCESS_H_
OLDNEW
« no previous file with comments | « sandbox/win/src/broker_services.h ('k') | skia/ext/platform_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698