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

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

Issue 8840007: GetDocumentURL is added to PPB_Testing_Dev. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 2539 matching lines...) Expand 10 before | Expand all | Expand 10 after
2550 NaClSrpcError retval; 2550 NaClSrpcError retval;
2551 retval = NaClSrpcInvokeBySignature( 2551 retval = NaClSrpcInvokeBySignature(
2552 channel, 2552 channel,
2553 "PPB_Testing_GetLiveObjectsForInstance:i:i", 2553 "PPB_Testing_GetLiveObjectsForInstance:i:i",
2554 instance, 2554 instance,
2555 live_object_count 2555 live_object_count
2556 ); 2556 );
2557 return retval; 2557 return retval;
2558 } 2558 }
2559 2559
2560 NaClSrpcError PpbTestingRpcClient::PPB_Testing_GetDocumentURL(
2561 NaClSrpcChannel* channel,
2562 PP_Instance instance,
2563 nacl_abi_size_t* components_bytes, char* components,
2564 nacl_abi_size_t* url_bytes, char* url) {
2565 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2566 ("%s: PPAPI calls are not supported off the main thread\n",
2567 __FUNCTION__));
2568 NaClSrpcError retval;
2569 retval = NaClSrpcInvokeBySignature(
2570 channel,
2571 "PPB_Testing_GetDocumentURL:i:CC",
2572 instance,
2573 components_bytes, components,
2574 url_bytes, url
2575 );
2576 return retval;
2577 }
2578
2560 NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_Create( 2579 NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_Create(
2561 NaClSrpcChannel* channel, 2580 NaClSrpcChannel* channel,
2562 PP_Instance instance_id, 2581 PP_Instance instance_id,
2563 PP_Resource* resource) { 2582 PP_Resource* resource) {
2564 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), 2583 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2565 ("%s: PPAPI calls are not supported off the main thread\n", 2584 ("%s: PPAPI calls are not supported off the main thread\n",
2566 __FUNCTION__)); 2585 __FUNCTION__));
2567 NaClSrpcError retval; 2586 NaClSrpcError retval;
2568 retval = NaClSrpcInvokeBySignature( 2587 retval = NaClSrpcInvokeBySignature(
2569 channel, 2588 channel,
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
3159 channel, 3178 channel,
3160 "PPB_Zoom_ZoomLimitsChanged:idd:", 3179 "PPB_Zoom_ZoomLimitsChanged:idd:",
3161 instance, 3180 instance,
3162 minimum_factor, 3181 minimum_factor,
3163 maximum_factor 3182 maximum_factor
3164 ); 3183 );
3165 return retval; 3184 return retval;
3166 } 3185 }
3167 3186
3168 3187
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698