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

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

Issue 8538001: Cleanup: Remove unneeded forward declarations in printing, sandbox, and skia. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « sandbox/src/sandbox_policy_base.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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_SRC_TARGET_PROCESS_H__ 5 #ifndef SANDBOX_SRC_TARGET_PROCESS_H__
6 #define SANDBOX_SRC_TARGET_PROCESS_H__ 6 #define SANDBOX_SRC_TARGET_PROCESS_H__
7 7
8 #include <Windows.h> 8 #include <windows.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "sandbox/src/crosscall_server.h" 11 #include "sandbox/src/crosscall_server.h"
12 #include "sandbox/src/sandbox_types.h" 12 #include "sandbox/src/sandbox_types.h"
13 13
14 namespace sandbox { 14 namespace sandbox {
15 15
16 class BrokerServicesBase;
17 class SharedMemIPCServer; 16 class SharedMemIPCServer;
18 class BrokerDispatcherBase;
19 class ThreadProvider; 17 class ThreadProvider;
20 18
21 // TargetProcess models a target instance (child process). Objects of this 19 // TargetProcess models a target instance (child process). Objects of this
22 // class are owned by the Policy used to create them. 20 // class are owned by the Policy used to create them.
23 class TargetProcess { 21 class TargetProcess {
24 public: 22 public:
25 // The constructor takes ownership of |initial_token| and |lockdown_token|. 23 // The constructor takes ownership of |initial_token| and |lockdown_token|.
26 TargetProcess(HANDLE initial_token, HANDLE lockdown_token, HANDLE job, 24 TargetProcess(HANDLE initial_token, HANDLE lockdown_token, HANDLE job,
27 ThreadProvider* thread_pool); 25 ThreadProvider* thread_pool);
28 ~TargetProcess(); 26 ~TargetProcess();
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 }; 112 };
115 113
116 // Creates a mock TargetProcess used for testing interceptions. 114 // Creates a mock TargetProcess used for testing interceptions.
117 // TODO(cpu): It seems that this method is not going to be used anymore. 115 // TODO(cpu): It seems that this method is not going to be used anymore.
118 TargetProcess* MakeTestTargetProcess(HANDLE process, HMODULE base_address); 116 TargetProcess* MakeTestTargetProcess(HANDLE process, HMODULE base_address);
119 117
120 118
121 } // namespace sandbox 119 } // namespace sandbox
122 120
123 #endif // SANDBOX_SRC_TARGET_PROCESS_H__ 121 #endif // SANDBOX_SRC_TARGET_PROCESS_H__
OLDNEW
« no previous file with comments | « sandbox/src/sandbox_policy_base.h ('k') | skia/ext/platform_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698