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

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

Issue 10783004: Move Windows Sandbox, trybots version (don't commit me!) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to top of tree Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « sandbox/win/src/target_interceptions.cc ('k') | sandbox/win/src/target_process.cc » ('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_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 "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/win/scoped_handle.h" 12 #include "base/win/scoped_handle.h"
13 #include "base/win/scoped_process_information.h" 13 #include "base/win/scoped_process_information.h"
14 #include "sandbox/src/crosscall_server.h" 14 #include "sandbox/win/src/crosscall_server.h"
15 #include "sandbox/src/sandbox_types.h" 15 #include "sandbox/win/src/sandbox_types.h"
16 16
17 namespace sandbox { 17 namespace sandbox {
18 18
19 class SharedMemIPCServer; 19 class SharedMemIPCServer;
20 class ThreadProvider; 20 class ThreadProvider;
21 21
22 // TargetProcess models a target instance (child process). Objects of this 22 // TargetProcess models a target instance (child process). Objects of this
23 // class are owned by the Policy used to create them. 23 // class are owned by the Policy used to create them.
24 class TargetProcess { 24 class TargetProcess {
25 public: 25 public:
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 }; 113 };
114 114
115 // Creates a mock TargetProcess used for testing interceptions. 115 // Creates a mock TargetProcess used for testing interceptions.
116 // TODO(cpu): It seems that this method is not going to be used anymore. 116 // TODO(cpu): It seems that this method is not going to be used anymore.
117 TargetProcess* MakeTestTargetProcess(HANDLE process, HMODULE base_address); 117 TargetProcess* MakeTestTargetProcess(HANDLE process, HMODULE base_address);
118 118
119 119
120 } // namespace sandbox 120 } // namespace sandbox
121 121
122 #endif // SANDBOX_SRC_TARGET_PROCESS_H__ 122 #endif // SANDBOX_SRC_TARGET_PROCESS_H__
OLDNEW
« no previous file with comments | « sandbox/win/src/target_interceptions.cc ('k') | sandbox/win/src/target_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698