diff options
author | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-12 20:59:39 +0000 |
---|---|---|
committer | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-12 20:59:39 +0000 |
commit | a37a999f87eed77b08e7e1b6bdb86d406f31ea9b (patch) | |
tree | 070577d8aebd6b62788e64bb4c94e1106abc34aa /sandbox/src/crosscall_server.h | |
parent | 836f9d7211bb84b2d6ff5c8cc33630599ddeee51 (diff) | |
download | chromium_src-a37a999f87eed77b08e7e1b6bdb86d406f31ea9b.zip chromium_src-a37a999f87eed77b08e7e1b6bdb86d406f31ea9b.tar.gz chromium_src-a37a999f87eed77b08e7e1b6bdb86d406f31ea9b.tar.bz2 |
Secound round of sbox changes for 64 bit port
- Handling pointer sized items
- Beefing up unit tests
- Beefing up integration tests
- Enabling Process, Thread and Token IPCs
- Making validation tests compile again
BUG=27218
TEST= unit tests included
Review URL: http://codereview.chromium.org/757001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41481 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/src/crosscall_server.h')
-rw-r--r-- | sandbox/src/crosscall_server.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sandbox/src/crosscall_server.h b/sandbox/src/crosscall_server.h index fd0cd4c..06c0e02 100644 --- a/sandbox/src/crosscall_server.h +++ b/sandbox/src/crosscall_server.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2006-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. @@ -7,6 +7,7 @@ #include <string> #include <vector> +#include "base/basictypes.h" #include "base/callback.h" #include "sandbox/src/crosscall_params.h" @@ -103,7 +104,11 @@ class CrossCallParamsEx : public CrossCallParams { // Gets a parameter that is four bytes in size. // Returns false if the parameter does not exist or is not 32 bits wide. - bool GetParameter32(size_t index, void* param); + bool GetParameter32(size_t index, uint32* param); + + // Gets a parameter that is void pointer in size. + // Returns false if the parameter does not exist or is not void pointer sized. + bool GetParameterVoidPtr(size_t index, void** param); // Gets a parameter that is a string. Returns false if the parameter does not // exist. |