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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc

Issue 10823187: NaCl proxy for PPB_NetworkMonitor_Private (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium 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 2164 matching lines...) Expand 10 before | Expand all | Expand 10 after
2175 channel, 2175 channel,
2176 "PPB_NetAddress_Private_CreateFromIPv6Address:Cii:C", 2176 "PPB_NetAddress_Private_CreateFromIPv6Address:Cii:C",
2177 ip_bytes, ip, 2177 ip_bytes, ip,
2178 scope_id, 2178 scope_id,
2179 port, 2179 port,
2180 addr_bytes, addr 2180 addr_bytes, addr
2181 ); 2181 );
2182 return retval; 2182 return retval;
2183 } 2183 }
2184 2184
2185 NaClSrpcError PpbNetworkListPrivateClient::PPB_NetworkList_Private_IsNetworkList (
2186 NaClSrpcChannel* channel,
2187 PP_Resource resource,
2188 int32_t* out_bool) {
2189 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2190 ("%s: PPAPI calls are not supported off the main thread\n",
2191 __FUNCTION__));
2192 NaClSrpcError retval;
2193 retval = NaClSrpcInvokeBySignature(
2194 channel,
2195 "PPB_NetworkList_Private_IsNetworkList:i:i",
2196 resource,
2197 out_bool
2198 );
2199 return retval;
2200 }
2201
2202 NaClSrpcError PpbNetworkListPrivateClient::PPB_NetworkList_Private_GetCount(
2203 NaClSrpcChannel* channel,
2204 PP_Resource resource,
2205 int32_t* count) {
2206 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2207 ("%s: PPAPI calls are not supported off the main thread\n",
2208 __FUNCTION__));
2209 NaClSrpcError retval;
2210 retval = NaClSrpcInvokeBySignature(
2211 channel,
2212 "PPB_NetworkList_Private_GetCount:i:i",
2213 resource,
2214 count
2215 );
2216 return retval;
2217 }
2218
2219 NaClSrpcError PpbNetworkListPrivateClient::PPB_NetworkList_Private_GetName(
2220 NaClSrpcChannel* channel,
2221 PP_Resource resource,
2222 int32_t index,
2223 nacl_abi_size_t* name_bytes, char* name) {
2224 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2225 ("%s: PPAPI calls are not supported off the main thread\n",
2226 __FUNCTION__));
2227 NaClSrpcError retval;
2228 retval = NaClSrpcInvokeBySignature(
2229 channel,
2230 "PPB_NetworkList_Private_GetName:ii:C",
2231 resource,
2232 index,
2233 name_bytes, name
2234 );
2235 return retval;
2236 }
2237
2238 NaClSrpcError PpbNetworkListPrivateClient::PPB_NetworkList_Private_GetType(
2239 NaClSrpcChannel* channel,
2240 PP_Resource resource,
2241 int32_t index,
2242 int32_t* type) {
2243 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2244 ("%s: PPAPI calls are not supported off the main thread\n",
2245 __FUNCTION__));
2246 NaClSrpcError retval;
2247 retval = NaClSrpcInvokeBySignature(
2248 channel,
2249 "PPB_NetworkList_Private_GetType:ii:i",
2250 resource,
2251 index,
2252 type
2253 );
2254 return retval;
2255 }
2256
2257 NaClSrpcError PpbNetworkListPrivateClient::PPB_NetworkList_Private_GetState(
2258 NaClSrpcChannel* channel,
2259 PP_Resource resource,
2260 int32_t index,
2261 int32_t* state) {
2262 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2263 ("%s: PPAPI calls are not supported off the main thread\n",
2264 __FUNCTION__));
2265 NaClSrpcError retval;
2266 retval = NaClSrpcInvokeBySignature(
2267 channel,
2268 "PPB_NetworkList_Private_GetState:ii:i",
2269 resource,
2270 index,
2271 state
2272 );
2273 return retval;
2274 }
2275
2276 NaClSrpcError PpbNetworkListPrivateClient::PPB_NetworkList_Private_GetIpAddresse s(
2277 NaClSrpcChannel* channel,
2278 PP_Resource resource,
2279 int32_t index,
2280 nacl_abi_size_t* addr_bytes, char* addr,
2281 int32_t* addresses_count) {
2282 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2283 ("%s: PPAPI calls are not supported off the main thread\n",
2284 __FUNCTION__));
2285 NaClSrpcError retval;
2286 retval = NaClSrpcInvokeBySignature(
2287 channel,
2288 "PPB_NetworkList_Private_GetIpAddresses:ii:Ci",
2289 resource,
2290 index,
2291 addr_bytes, addr,
2292 addresses_count
2293 );
2294 return retval;
2295 }
2296
2297 NaClSrpcError PpbNetworkListPrivateClient::PPB_NetworkList_Private_GetDisplayNam e(
2298 NaClSrpcChannel* channel,
2299 PP_Resource resource,
2300 int32_t index,
2301 nacl_abi_size_t* display_name_bytes, char* display_name) {
2302 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2303 ("%s: PPAPI calls are not supported off the main thread\n",
2304 __FUNCTION__));
2305 NaClSrpcError retval;
2306 retval = NaClSrpcInvokeBySignature(
2307 channel,
2308 "PPB_NetworkList_Private_GetDisplayName:ii:C",
2309 resource,
2310 index,
2311 display_name_bytes, display_name
2312 );
2313 return retval;
2314 }
2315
2316 NaClSrpcError PpbNetworkListPrivateClient::PPB_NetworkList_Private_GetMTU(
2317 NaClSrpcChannel* channel,
2318 PP_Resource resource,
2319 int32_t index,
2320 int32_t* mtu) {
2321 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2322 ("%s: PPAPI calls are not supported off the main thread\n",
2323 __FUNCTION__));
2324 NaClSrpcError retval;
2325 retval = NaClSrpcInvokeBySignature(
2326 channel,
2327 "PPB_NetworkList_Private_GetMTU:ii:i",
2328 resource,
2329 index,
2330 mtu
2331 );
2332 return retval;
2333 }
2334
2335 NaClSrpcError PpbNetworkMonitorPrivateClient::PPB_NetworkMonitor_Private_Create(
2336 NaClSrpcChannel* channel,
2337 PP_Instance instance,
2338 PP_Resource* out_resource) {
2339 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2340 ("%s: PPAPI calls are not supported off the main thread\n",
2341 __FUNCTION__));
2342 NaClSrpcError retval;
2343 retval = NaClSrpcInvokeBySignature(
2344 channel,
2345 "PPB_NetworkMonitor_Private_Create:i:i",
2346 instance,
2347 out_resource
2348 );
2349 return retval;
2350 }
2351
2352 NaClSrpcError PpbNetworkMonitorPrivateClient::PPB_NetworkMonitor_Private_IsNetwo rkMonitor(
2353 NaClSrpcChannel* channel,
2354 PP_Resource resource,
2355 int32_t* out_bool) {
2356 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2357 ("%s: PPAPI calls are not supported off the main thread\n",
2358 __FUNCTION__));
2359 NaClSrpcError retval;
2360 retval = NaClSrpcInvokeBySignature(
2361 channel,
2362 "PPB_NetworkMonitor_Private_IsNetworkMonitor:i:i",
2363 resource,
2364 out_bool
2365 );
2366 return retval;
2367 }
2368
2185 NaClSrpcError PpbPdfRpcClient::PPB_PDF_GetLocalizedString( 2369 NaClSrpcError PpbPdfRpcClient::PPB_PDF_GetLocalizedString(
2186 NaClSrpcChannel* channel, 2370 NaClSrpcChannel* channel,
2187 PP_Instance instance, 2371 PP_Instance instance,
2188 int32_t string_id, 2372 int32_t string_id,
2189 nacl_abi_size_t* string_bytes, char* string) { 2373 nacl_abi_size_t* string_bytes, char* string) {
2190 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), 2374 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2191 ("%s: PPAPI calls are not supported off the main thread\n", 2375 ("%s: PPAPI calls are not supported off the main thread\n",
2192 __FUNCTION__)); 2376 __FUNCTION__));
2193 NaClSrpcError retval; 2377 NaClSrpcError retval;
2194 retval = NaClSrpcInvokeBySignature( 2378 retval = NaClSrpcInvokeBySignature(
(...skipping 1636 matching lines...) Expand 10 before | Expand all | Expand 10 after
3831 channel, 4015 channel,
3832 "PPB_Zoom_ZoomLimitsChanged:idd:", 4016 "PPB_Zoom_ZoomLimitsChanged:idd:",
3833 instance, 4017 instance,
3834 minimum_factor, 4018 minimum_factor,
3835 maximum_factor 4019 maximum_factor
3836 ); 4020 );
3837 return retval; 4021 return retval;
3838 } 4022 }
3839 4023
3840 4024
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698