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

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: Fixed codereview issues. 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 2535 matching lines...) Expand 10 before | Expand all | Expand 10 after
2546 NaClSrpcError retval; 2546 NaClSrpcError retval;
2547 retval = NaClSrpcInvokeBySignature( 2547 retval = NaClSrpcInvokeBySignature(
2548 channel, 2548 channel,
2549 "PPB_Testing_GetLiveObjectsForInstance:i:i", 2549 "PPB_Testing_GetLiveObjectsForInstance:i:i",
2550 instance, 2550 instance,
2551 live_object_count 2551 live_object_count
2552 ); 2552 );
2553 return retval; 2553 return retval;
2554 } 2554 }
2555 2555
2556 NaClSrpcError PpbTestingRpcClient::PPB_Testing_GetDocumentURL(
2557 NaClSrpcChannel* channel,
2558 PP_Instance instance,
2559 nacl_abi_size_t* components_bytes, char* components,
2560 nacl_abi_size_t* url_bytes, char* url) {
2561 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2562 ("%s: PPAPI calls are not supported off the main thread\n",
2563 __FUNCTION__));
2564 NaClSrpcError retval;
2565 retval = NaClSrpcInvokeBySignature(
2566 channel,
2567 "PPB_Testing_GetDocumentURL:i:CC",
2568 instance,
2569 components_bytes, components,
2570 url_bytes, url
2571 );
2572 return retval;
2573 }
2574
2556 NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_Create( 2575 NaClSrpcError PpbUDPSocketPrivateRpcClient::PPB_UDPSocket_Private_Create(
2557 NaClSrpcChannel* channel, 2576 NaClSrpcChannel* channel,
2558 PP_Instance instance_id, 2577 PP_Instance instance_id,
2559 PP_Resource* resource) { 2578 PP_Resource* resource) {
2560 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), 2579 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
2561 ("%s: PPAPI calls are not supported off the main thread\n", 2580 ("%s: PPAPI calls are not supported off the main thread\n",
2562 __FUNCTION__)); 2581 __FUNCTION__));
2563 NaClSrpcError retval; 2582 NaClSrpcError retval;
2564 retval = NaClSrpcInvokeBySignature( 2583 retval = NaClSrpcInvokeBySignature(
2565 channel, 2584 channel,
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
3155 channel, 3174 channel,
3156 "PPB_Zoom_ZoomLimitsChanged:idd:", 3175 "PPB_Zoom_ZoomLimitsChanged:idd:",
3157 instance, 3176 instance,
3158 minimum_factor, 3177 minimum_factor,
3159 maximum_factor 3178 maximum_factor
3160 ); 3179 );
3161 return retval; 3180 return retval;
3162 } 3181 }
3163 3182
3164 3183
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698