OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_ELF_THUNK_GETTER_H_ | 5 #ifndef CHROME_ELF_HOOK_UTIL_THUNK_GETTER_H_ |
6 #define CHROME_ELF_THUNK_GETTER_H_ | 6 #define CHROME_ELF_HOOK_UTIL_THUNK_GETTER_H_ |
7 | 7 |
8 namespace sandbox { | 8 namespace sandbox { |
9 class ServiceResolverThunk; | 9 class ServiceResolverThunk; |
10 } | 10 } |
11 | 11 |
12 // Creates a |ServiceResolverThunk| based on the OS version. Ownership of the | 12 // Creates a |ServiceResolverThunk| based on the OS version. Ownership of the |
13 // resulting thunk is passed to the caller. | 13 // resulting thunk is passed to the caller. |
14 sandbox::ServiceResolverThunk* GetThunk(bool relaxed); | 14 sandbox::ServiceResolverThunk* GetThunk(bool relaxed); |
15 | 15 |
16 #endif // CHROME_ELF_THUNK_GETTER_H_ | 16 #endif // CHROME_ELF_HOOK_UTIL_THUNK_GETTER_H_ |
OLD | NEW |