diff options
author | caitkp@chromium.org <caitkp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-07 22:06:31 +0000 |
---|---|---|
committer | caitkp@chromium.org <caitkp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-07 22:06:31 +0000 |
commit | 72d2d1b7f043edf5fe4e89a37e60e665dd747626 (patch) | |
tree | 6c905cb919cfa8a2d157cbdd6ab6069f4de87277 /chrome_elf/thunk_getter.h | |
parent | 9d57a12d685b3847a31cefb2748723d3497bcfc6 (diff) | |
download | chromium_src-72d2d1b7f043edf5fe4e89a37e60e665dd747626.zip chromium_src-72d2d1b7f043edf5fe4e89a37e60e665dd747626.tar.gz chromium_src-72d2d1b7f043edf5fe4e89a37e60e665dd747626.tar.bz2 |
Revert 255151 "Make chrome_elf use thunks instead of function po..."
(Crashy on today's canary)
> Make chrome_elf use thunks instead of function pointers.
>
> 1. Add functionality to ServiceResolverThunk to copy a thunk without patching.
> 2. Move chrome_elf thunk-handling code to a common location.
> 3. Use a thunk instead of a f'n ptr for redirects.
>
> BUG=334379
>
> Review URL: https://codereview.chromium.org/183833004
TBR=caitkp@chromium.org
Review URL: https://codereview.chromium.org/189803007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255703 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_elf/thunk_getter.h')
-rw-r--r-- | chrome_elf/thunk_getter.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/chrome_elf/thunk_getter.h b/chrome_elf/thunk_getter.h deleted file mode 100644 index 5bc20fe..0000000 --- a/chrome_elf/thunk_getter.h +++ /dev/null @@ -1,16 +0,0 @@ -// 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_ |