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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/ppb_url_request_info.srpc

Issue 7740013: Cloning a bunch of stuff from the native_client repository at r6528 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4 #
5 # RPC methods used to implement PPB_URLRequestInfo calls from the plugin.
6 # See ppapi/c/ppb_url_request_info.h for interface details.
7
8 {
9 'name': 'PpbURLRequestInfoRpc',
10 'rpcs': [
11 {'name': 'PPB_URLRequestInfo_Create',
12 'inputs': [['instance', 'PP_Instance'], # PP_Instance
13 ],
14 'outputs': [['resource', 'PP_Resource'], # PP_Resource
15 ]
16 },
17 {'name': 'PPB_URLRequestInfo_IsURLRequestInfo',
18 'inputs': [['resource', 'PP_Resource'], # PP_Resource
19 ],
20 'outputs': [['success', 'int32_t'], # PP_Bool
21 ]
22 },
23 {'name': 'PPB_URLRequestInfo_SetProperty',
24 'inputs': [['request', 'PP_Resource'], # PP_Resource
25 ['property', 'int32_t'], # PP_URLRequestProperty
26 ['value', 'char[]'], # PP_Var
27 ],
28 'outputs': [['success', 'int32_t'], # PP_Bool
29 ]
30 },
31 {'name': 'PPB_URLRequestInfo_AppendDataToBody',
32 'inputs': [['request', 'PP_Resource'], # PP_Resource
33 ['data', 'char[]'], # char* + uint32_t
34 ],
35 'outputs': [['success', 'int32_t'], # PP_Bool
36 ]
37 },
38 {'name': 'PPB_URLRequestInfo_AppendFileToBody',
39 'inputs': [['request', 'PP_Resource'], # PP_Resource
40 ['file_ref', 'PP_Resource'], # PP_Resource
41 ['start_offset', 'int64_t'], # int64_t
42 ['number_of_bytes', 'int64_t'], # int64_t
43 ['expected_last_modified_time', 'double'], # PP_Time
44 ],
45 'outputs': [['success', 'int32_t'], # PP_Bool
46 ]
47 },
48 ]
49 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698