| Index: ppapi/native_client/src/shared/ppapi_proxy/browser_callback.h
|
| diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_callback.h b/ppapi/native_client/src/shared/ppapi_proxy/browser_callback.h
|
| index 456b765135b12d8977ffd99aa433921f20aab22b..e4a133b6f8b061fc671624a9bec1498fc6586682 100644
|
| --- a/ppapi/native_client/src/shared/ppapi_proxy/browser_callback.h
|
| +++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_callback.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 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.
|
|
|
| @@ -10,6 +10,7 @@
|
|
|
| struct NaClSrpcChannel;
|
| struct PP_CompletionCallback;
|
| +struct PP_Var;
|
|
|
| namespace ppapi_proxy {
|
|
|
| @@ -40,6 +41,20 @@ struct PP_CompletionCallback MakeRemoteCompletionCallback(
|
| char** buffer,
|
| CheckResultFunc check_result,
|
| GetReadSizeFunc get_size_read_func);
|
| +struct PP_CompletionCallback MakeRemoteCompletionCallback(
|
| + NaClSrpcChannel* srpc_channel,
|
| + int32_t callback_id,
|
| + // For callbacks invoked on PP_Var read.
|
| + PP_Var** var);
|
| +struct PP_CompletionCallback MakeRemoteCompletionCallback(
|
| + NaClSrpcChannel* srpc_channel,
|
| + int32_t callback_id,
|
| + // For callbacks invoked on a byte read.
|
| + int32_t bytes_to_read,
|
| + char** buffer,
|
| + PP_Var** var,
|
| + CheckResultFunc check_result,
|
| + GetReadSizeFunc get_size_read_func);
|
|
|
| // If the callback won't be called, use this to clean up the data from
|
| // the function above.
|
|
|