Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/browser_callback.h

Issue 9227008: WebSocket Pepper API: SRPC proxy implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase because two ppapi_proxy related CLs are landed Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/ui/ppapi_uitest.cc ('k') | ppapi/native_client/src/shared/ppapi_proxy/browser_callback.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « chrome/test/ui/ppapi_uitest.cc ('k') | ppapi/native_client/src/shared/ppapi_proxy/browser_callback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698