summaryrefslogtreecommitdiffstats
path: root/chrome_elf/thunk_getter.h
blob: 5bc20fe81e5d9c886cb03539a5f9cb5c5c66f88d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_ELF_THUNK_GETTER_H_
#define CHROME_ELF_THUNK_GETTER_H_

namespace sandbox {
class ServiceResolverThunk;
}

// Creates a |ServiceResolverThunk| based on the OS version. Ownership of the
// resulting thunk is passed to the caller.
sandbox::ServiceResolverThunk* GetThunk(bool relaxed);

#endif  // CHROME_ELF_THUNK_GETTER_H_