OLD | NEW |
1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2010 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 "sandbox/src/service_resolver.h" | 5 #include "sandbox/win/src/service_resolver.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/win/pe_image.h" | 8 #include "base/win/pe_image.h" |
9 | 9 |
10 namespace sandbox { | 10 namespace sandbox { |
11 | 11 |
12 NTSTATUS ServiceResolverThunk::ResolveInterceptor( | 12 NTSTATUS ServiceResolverThunk::ResolveInterceptor( |
13 const void* interceptor_module, | 13 const void* interceptor_module, |
14 const char* interceptor_name, | 14 const char* interceptor_name, |
15 const void** address) { | 15 const void** address) { |
(...skipping 17 matching lines...) Expand all Loading... |
33 | 33 |
34 if (NULL == *address) { | 34 if (NULL == *address) { |
35 NOTREACHED(); | 35 NOTREACHED(); |
36 return STATUS_UNSUCCESSFUL; | 36 return STATUS_UNSUCCESSFUL; |
37 } | 37 } |
38 | 38 |
39 return STATUS_SUCCESS; | 39 return STATUS_SUCCESS; |
40 } | 40 } |
41 | 41 |
42 } // namespace sandbox | 42 } // namespace sandbox |
OLD | NEW |