diff options
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. |