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