OLD | NEW |
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_SERVICE_RESOLVER_H__ | 5 #ifndef SANDBOX_SRC_SERVICE_RESOLVER_H__ |
6 #define SANDBOX_SRC_SERVICE_RESOLVER_H__ | 6 #define SANDBOX_SRC_SERVICE_RESOLVER_H__ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "sandbox/win/src/nt_internals.h" | 11 #include "sandbox/win/src/nt_internals.h" |
10 #include "sandbox/win/src/resolver.h" | 12 #include "sandbox/win/src/resolver.h" |
11 | 13 |
12 namespace sandbox { | 14 namespace sandbox { |
13 | 15 |
14 // This is the concrete resolver used to perform service-call type functions | 16 // This is the concrete resolver used to perform service-call type functions |
15 // inside ntdll.dll. | 17 // inside ntdll.dll. |
16 class ServiceResolverThunk : public ResolverThunk { | 18 class ServiceResolverThunk : public ResolverThunk { |
17 public: | 19 public: |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 private: | 150 private: |
149 bool IsFunctionAService(void* local_thunk) const override; | 151 bool IsFunctionAService(void* local_thunk) const override; |
150 | 152 |
151 DISALLOW_COPY_AND_ASSIGN(Wow64W10ResolverThunk); | 153 DISALLOW_COPY_AND_ASSIGN(Wow64W10ResolverThunk); |
152 }; | 154 }; |
153 | 155 |
154 } // namespace sandbox | 156 } // namespace sandbox |
155 | 157 |
156 | 158 |
157 #endif // SANDBOX_SRC_SERVICE_RESOLVER_H__ | 159 #endif // SANDBOX_SRC_SERVICE_RESOLVER_H__ |
OLD | NEW |