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

Side by Side Diff: sandbox/src/policy_broker.cc

Issue 179039: Fix issue 8348: unfork pe_image.h / pe_image.cc (Closed)
Patch Set: Removed unittest file and entries in .gyp file, restored #error message Created 11 years, 3 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
« no previous file with comments | « sandbox/src/pe_image_unittest.cc ('k') | sandbox/src/resolver.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include <map> 5 #include <map>
6 6
7 #include "sandbox/src/policy_broker.h" 7 #include "sandbox/src/policy_broker.h"
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/pe_image.h"
10 #include "base/win_util.h" 11 #include "base/win_util.h"
11 #include "sandbox/src/interception.h" 12 #include "sandbox/src/interception.h"
12 #include "sandbox/src/pe_image.h"
13 #include "sandbox/src/policy_target.h" 13 #include "sandbox/src/policy_target.h"
14 #include "sandbox/src/process_thread_interception.h" 14 #include "sandbox/src/process_thread_interception.h"
15 #include "sandbox/src/sandbox.h" 15 #include "sandbox/src/sandbox.h"
16 #include "sandbox/src/sandbox_nt_types.h" 16 #include "sandbox/src/sandbox_nt_types.h"
17 #include "sandbox/src/sandbox_types.h" 17 #include "sandbox/src/sandbox_types.h"
18 #include "sandbox/src/sandbox_utils.h" 18 #include "sandbox/src/sandbox_utils.h"
19 #include "sandbox/src/target_process.h" 19 #include "sandbox/src/target_process.h"
20 20
21 // This code executes on the broker side, as a callback from the policy on the 21 // This code executes on the broker side, as a callback from the policy on the
22 // target side (the child). 22 // target side (the child).
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 return false; 107 return false;
108 108
109 return INTERCEPT_NT(manager, NtOpenThreadTokenEx, 109 return INTERCEPT_NT(manager, NtOpenThreadTokenEx,
110 "_TargetNtOpenThreadTokenEx@24"); 110 "_TargetNtOpenThreadTokenEx@24");
111 } 111 }
112 112
113 return true; 113 return true;
114 } 114 }
115 115
116 } // namespace sandbox 116 } // namespace sandbox
OLDNEW
« no previous file with comments | « sandbox/src/pe_image_unittest.cc ('k') | sandbox/src/resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698