diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-01 23:42:58 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-01 23:42:58 +0000 |
commit | ea38baf5b3a5a8dd0287d61b26502a2c9ffb4661 (patch) | |
tree | e98d94950f14f9230691b354e1da7d784d281ae0 /sandbox/src/interceptors.h | |
parent | 0043ca1beb5d67cccfbd4290ce170e36ffeaff11 (diff) | |
download | chromium_src-ea38baf5b3a5a8dd0287d61b26502a2c9ffb4661.zip chromium_src-ea38baf5b3a5a8dd0287d61b26502a2c9ffb4661.tar.gz chromium_src-ea38baf5b3a5a8dd0287d61b26502a2c9ffb4661.tar.bz2 |
Sandbox: Add the 64-bit service resolver and a few
extra bits of infrastructure.
BUG=27218
TEST=none
Review URL: http://codereview.chromium.org/558032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37764 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/src/interceptors.h')
-rw-r--r-- | sandbox/src/interceptors.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sandbox/src/interceptors.h b/sandbox/src/interceptors.h new file mode 100644 index 0000000..7064e07 --- /dev/null +++ b/sandbox/src/interceptors.h @@ -0,0 +1,27 @@ +// Copyright (c) 2010 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 SANDBOX_SRC_INTERCEPTORS_H_ +#define SANDBOX_SRC_INTERCEPTORS_H_ + +#if defined(_WIN64) +#include "sandbox/src/interceptors_64.h" +#endif + +namespace sandbox { + +enum InterceptorId { + MAP_VIEW_OF_SECTION_ID = 0, + UNMAP_VIEW_OF_SECTION_ID, + SET_INFORMATION_THREAD_ID, + OPEN_THREAD_TOKEN_ID, + OPEN_THREAD_TOKEN_EX_ID, + MAX_ID +}; + +typedef void* OriginalFunctions[MAX_ID]; + +} // namespace sandbox + +#endif // SANDBOX_SRC_INTERCEPTORS_H_ |