summaryrefslogtreecommitdiffstats
path: root/chromium/chrome_elf/thunk_getter.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome_elf/thunk_getter.h')
-rw-r--r--chromium/chrome_elf/thunk_getter.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/chromium/chrome_elf/thunk_getter.h b/chromium/chrome_elf/thunk_getter.h
new file mode 100644
index 00000000000..5bc20fe81e5
--- /dev/null
+++ b/chromium/chrome_elf/thunk_getter.h
@@ -0,0 +1,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_