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

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

Issue 10689170: Move the Windows sandbox to sandbox/win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on top of tree (properly this time) 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/integrity_level_test.cc ('k') | sandbox/win/src/interception.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) 2011 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 // Defines InterceptionManager, the class in charge of setting up interceptions 5 // Defines InterceptionManager, the class in charge of setting up interceptions
6 // for the sandboxed process. For more details see 6 // for the sandboxed process. For more details see
7 // http://dev.chromium.org/developers/design-documents/sandbox . 7 // http://dev.chromium.org/developers/design-documents/sandbox .
8 8
9 #ifndef SANDBOX_SRC_INTERCEPTION_H_ 9 #ifndef SANDBOX_SRC_INTERCEPTION_H_
10 #define SANDBOX_SRC_INTERCEPTION_H_ 10 #define SANDBOX_SRC_INTERCEPTION_H_
11 11
12 #include <list> 12 #include <list>
13 #include <string> 13 #include <string>
14 14
15 #include "base/basictypes.h" 15 #include "base/basictypes.h"
16 #include "base/gtest_prod_util.h" 16 #include "base/gtest_prod_util.h"
17 #include "sandbox/src/sandbox_types.h" 17 #include "sandbox/win/src/sandbox_types.h"
18 18
19 namespace sandbox { 19 namespace sandbox {
20 20
21 class TargetProcess; 21 class TargetProcess;
22 enum InterceptorId; 22 enum InterceptorId;
23 23
24 // Internal structures used for communication between the broker and the target. 24 // Internal structures used for communication between the broker and the target.
25 struct DllPatchInfo; 25 struct DllPatchInfo;
26 struct DllInterceptionData; 26 struct DllInterceptionData;
27 27
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 manager->ADD_NT_INTERCEPTION(service, id, num_params) 263 manager->ADD_NT_INTERCEPTION(service, id, num_params)
264 264
265 #define INTERCEPT_EAT(manager, dll, function, id, num_params) \ 265 #define INTERCEPT_EAT(manager, dll, function, id, num_params) \
266 manager->AddToPatchedFunctions(dll, #function, sandbox::INTERCEPTION_EAT, \ 266 manager->AddToPatchedFunctions(dll, #function, sandbox::INTERCEPTION_EAT, \
267 MAKE_SERVICE_NAME(function), id) 267 MAKE_SERVICE_NAME(function), id)
268 #endif // SANDBOX_EXPORTS 268 #endif // SANDBOX_EXPORTS
269 269
270 } // namespace sandbox 270 } // namespace sandbox
271 271
272 #endif // SANDBOX_SRC_INTERCEPTION_H_ 272 #endif // SANDBOX_SRC_INTERCEPTION_H_
OLDNEW
« no previous file with comments | « sandbox/win/src/integrity_level_test.cc ('k') | sandbox/win/src/interception.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698