OLD | NEW |
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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 | 297 |
298 class PpbURLRequestInfoRpcClient { | 298 class PpbURLRequestInfoRpcClient { |
299 public: | 299 public: |
300 static NaClSrpcError PPB_URLRequestInfo_Create( | 300 static NaClSrpcError PPB_URLRequestInfo_Create( |
301 NaClSrpcChannel* channel, | 301 NaClSrpcChannel* channel, |
302 PP_Module module, | 302 PP_Module module, |
303 PP_Resource* resource); | 303 PP_Resource* resource); |
304 static NaClSrpcError PPB_URLRequestInfo_IsURLRequestInfo( | 304 static NaClSrpcError PPB_URLRequestInfo_IsURLRequestInfo( |
305 NaClSrpcChannel* channel, | 305 NaClSrpcChannel* channel, |
306 PP_Resource resource, | 306 PP_Resource resource, |
307 int32_t* is_url_request_info); | 307 int32_t* success); |
308 static NaClSrpcError PPB_URLRequestInfo_SetProperty( | 308 static NaClSrpcError PPB_URLRequestInfo_SetProperty( |
309 NaClSrpcChannel* channel, | 309 NaClSrpcChannel* channel, |
310 PP_Resource request, | 310 PP_Resource request, |
311 int32_t property, | 311 int32_t property, |
312 nacl_abi_size_t value_bytes, char* value, | 312 nacl_abi_size_t value_bytes, char* value, |
313 int32_t* success); | 313 int32_t* success); |
314 static NaClSrpcError PPB_URLRequestInfo_AppendDataToBody( | 314 static NaClSrpcError PPB_URLRequestInfo_AppendDataToBody( |
315 NaClSrpcChannel* channel, | 315 NaClSrpcChannel* channel, |
316 PP_Resource request, | 316 PP_Resource request, |
317 nacl_abi_size_t data_bytes, char* data, | 317 nacl_abi_size_t data_bytes, char* data, |
(...skipping 11 matching lines...) Expand all Loading... |
329 PpbURLRequestInfoRpcClient(); | 329 PpbURLRequestInfoRpcClient(); |
330 PpbURLRequestInfoRpcClient(const PpbURLRequestInfoRpcClient&); | 330 PpbURLRequestInfoRpcClient(const PpbURLRequestInfoRpcClient&); |
331 void operator=(const PpbURLRequestInfoRpcClient); | 331 void operator=(const PpbURLRequestInfoRpcClient); |
332 }; // class PpbURLRequestInfoRpcClient | 332 }; // class PpbURLRequestInfoRpcClient |
333 | 333 |
334 class PpbURLResponseInfoRpcClient { | 334 class PpbURLResponseInfoRpcClient { |
335 public: | 335 public: |
336 static NaClSrpcError PPB_URLResponseInfo_IsURLResponseInfo( | 336 static NaClSrpcError PPB_URLResponseInfo_IsURLResponseInfo( |
337 NaClSrpcChannel* channel, | 337 NaClSrpcChannel* channel, |
338 PP_Resource resource, | 338 PP_Resource resource, |
339 int32_t* is_url_response_info); | 339 int32_t* success); |
340 static NaClSrpcError PPB_URLResponseInfo_GetProperty( | 340 static NaClSrpcError PPB_URLResponseInfo_GetProperty( |
341 NaClSrpcChannel* channel, | 341 NaClSrpcChannel* channel, |
342 PP_Resource response, | 342 PP_Resource response, |
343 int32_t property, | 343 int32_t property, |
344 nacl_abi_size_t* value_bytes, char* value); | 344 nacl_abi_size_t* value_bytes, char* value); |
345 static NaClSrpcError PPB_URLResponseInfo_GetBodyAsFileRef( | 345 static NaClSrpcError PPB_URLResponseInfo_GetBodyAsFileRef( |
346 NaClSrpcChannel* channel, | 346 NaClSrpcChannel* channel, |
347 PP_Resource response, | 347 PP_Resource response, |
348 PP_Resource* file_ref); | 348 PP_Resource* file_ref); |
349 | 349 |
350 private: | 350 private: |
351 PpbURLResponseInfoRpcClient(); | 351 PpbURLResponseInfoRpcClient(); |
352 PpbURLResponseInfoRpcClient(const PpbURLResponseInfoRpcClient&); | 352 PpbURLResponseInfoRpcClient(const PpbURLResponseInfoRpcClient&); |
353 void operator=(const PpbURLResponseInfoRpcClient); | 353 void operator=(const PpbURLResponseInfoRpcClient); |
354 }; // class PpbURLResponseInfoRpcClient | 354 }; // class PpbURLResponseInfoRpcClient |
355 | 355 |
356 | 356 |
357 | 357 |
358 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ | 358 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ |
359 | 359 |
OLD | NEW |