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

Side by Side Diff: src/shared/ppapi_proxy/ppp_rpc_client.cc

Issue 6177007: ppapi_proxy: Support loading and reading urls. Proxy URLLoader.... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/shared/ppapi_proxy/ppb_url_loader.srpc ('k') | src/shared/ppapi_proxy/ppp_rpc_server.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Native Client Authors. All rights reserved. 1 // Copyright (c) 2010 The Native Client Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING 5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
6 // 6 //
7 // Automatically generated code. See srpcgen.py 7 // Automatically generated code. See srpcgen.py
8 // 8 //
9 // NaCl Simple Remote Procedure Call interface abstractions. 9 // NaCl Simple Remote Procedure Call interface abstractions.
10 10
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 channel, 193 channel,
194 "Deallocate:C:", 194 "Deallocate:C:",
195 capability_bytes, capability 195 capability_bytes, capability
196 ); 196 );
197 return retval; 197 return retval;
198 } 198 }
199 199
200 NaClSrpcError CompletionCallbackRpcClient::RunCompletionCallback( 200 NaClSrpcError CompletionCallbackRpcClient::RunCompletionCallback(
201 NaClSrpcChannel* channel, 201 NaClSrpcChannel* channel,
202 int32_t callback_id, 202 int32_t callback_id,
203 int32_t result) { 203 int32_t result,
204 nacl_abi_size_t read_buffer_bytes, char* read_buffer) {
204 NaClSrpcError retval; 205 NaClSrpcError retval;
205 retval = NaClSrpcInvokeBySignature( 206 retval = NaClSrpcInvokeBySignature(
206 channel, 207 channel,
207 "RunCompletionCallback:ii:", 208 "RunCompletionCallback:iiC:",
208 callback_id, 209 callback_id,
209 result 210 result,
211 read_buffer_bytes, read_buffer
210 ); 212 );
211 return retval; 213 return retval;
212 } 214 }
213 215
214 NaClSrpcError PppRpcClient::PPP_InitializeModule( 216 NaClSrpcError PppRpcClient::PPP_InitializeModule(
215 NaClSrpcChannel* channel, 217 NaClSrpcChannel* channel,
216 int32_t pid, 218 int32_t pid,
217 PP_Module module, 219 PP_Module module,
218 NaClSrpcImcDescType upcall_channel_desc, 220 NaClSrpcImcDescType upcall_channel_desc,
219 char* service_description, 221 char* service_description,
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 retval = NaClSrpcInvokeBySignature( 379 retval = NaClSrpcInvokeBySignature(
378 channel, 380 channel,
379 "PPP_Instance_GetInstanceObject:l:C", 381 "PPP_Instance_GetInstanceObject:l:C",
380 instance, 382 instance,
381 capability_bytes, capability 383 capability_bytes, capability
382 ); 384 );
383 return retval; 385 return retval;
384 } 386 }
385 387
386 388
OLDNEW
« no previous file with comments | « src/shared/ppapi_proxy/ppb_url_loader.srpc ('k') | src/shared/ppapi_proxy/ppp_rpc_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698