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

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

Issue 9015040: NaCl: Remove getpid() calls from the PPAPI proxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright Created 8 years, 11 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 static void PPP_InitializeModuleDispatcher( 42 static void PPP_InitializeModuleDispatcher(
43 NaClSrpcRpc* rpc, 43 NaClSrpcRpc* rpc,
44 NaClSrpcArg** inputs, 44 NaClSrpcArg** inputs,
45 NaClSrpcArg** outputs, 45 NaClSrpcArg** outputs,
46 NaClSrpcClosure* done 46 NaClSrpcClosure* done
47 ) { 47 ) {
48 PppRpcServer::PPP_InitializeModule( 48 PppRpcServer::PPP_InitializeModule(
49 rpc, 49 rpc,
50 done, 50 done,
51 inputs[0]->u.ival, 51 inputs[0]->u.ival,
52 inputs[1]->u.ival, 52 inputs[1]->u.hval,
53 inputs[2]->u.hval, 53 inputs[2]->arrays.str,
54 inputs[3]->arrays.str, 54 &(outputs[0]->u.ival)
55 &(outputs[0]->u.ival),
56 &(outputs[1]->u.ival)
57 ); 55 );
58 } 56 }
59 57
60 static void PPP_ShutdownModuleDispatcher( 58 static void PPP_ShutdownModuleDispatcher(
61 NaClSrpcRpc* rpc, 59 NaClSrpcRpc* rpc,
62 NaClSrpcArg** inputs, 60 NaClSrpcArg** inputs,
63 NaClSrpcArg** outputs, 61 NaClSrpcArg** outputs,
64 NaClSrpcClosure* done 62 NaClSrpcClosure* done
65 ) { 63 ) {
66 UNREFERENCED_PARAMETER(inputs); 64 UNREFERENCED_PARAMETER(inputs);
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 inputs[0]->u.ival, 417 inputs[0]->u.ival,
420 inputs[1]->u.dval, 418 inputs[1]->u.dval,
421 inputs[2]->u.ival 419 inputs[2]->u.ival
422 ); 420 );
423 } 421 }
424 422
425 } // namespace 423 } // namespace
426 424
427 NaClSrpcHandlerDesc PppRpcs::srpc_methods[] = { 425 NaClSrpcHandlerDesc PppRpcs::srpc_methods[] = {
428 { "RunCompletionCallback:iiC:", RunCompletionCallbackDispatcher }, 426 { "RunCompletionCallback:iiC:", RunCompletionCallbackDispatcher },
429 { "PPP_InitializeModule:iihs:ii", PPP_InitializeModuleDispatcher }, 427 { "PPP_InitializeModule:ihs:i", PPP_InitializeModuleDispatcher },
430 { "PPP_ShutdownModule::", PPP_ShutdownModuleDispatcher }, 428 { "PPP_ShutdownModule::", PPP_ShutdownModuleDispatcher },
431 { "PPP_GetInterface:s:i", PPP_GetInterfaceDispatcher }, 429 { "PPP_GetInterface:s:i", PPP_GetInterfaceDispatcher },
432 { "PPP_Audio_StreamCreated:ihih:", PPP_Audio_StreamCreatedDispatcher }, 430 { "PPP_Audio_StreamCreated:ihih:", PPP_Audio_StreamCreatedDispatcher },
433 { "PPP_Find_StartFind:iCi:i", PPP_Find_StartFindDispatcher }, 431 { "PPP_Find_StartFind:iCi:i", PPP_Find_StartFindDispatcher },
434 { "PPP_Find_SelectFindResult:ii:", PPP_Find_SelectFindResultDispatcher }, 432 { "PPP_Find_SelectFindResult:ii:", PPP_Find_SelectFindResultDispatcher },
435 { "PPP_Find_StopFind:i:", PPP_Find_StopFindDispatcher }, 433 { "PPP_Find_StopFind:i:", PPP_Find_StopFindDispatcher },
436 { "PPP_InputEvent_HandleInputEvent:iiCC:i", PPP_InputEvent_HandleInputEventDis patcher }, 434 { "PPP_InputEvent_HandleInputEvent:iiCC:i", PPP_InputEvent_HandleInputEventDis patcher },
437 { "PPP_Instance_DidCreate:iiCC:i", PPP_Instance_DidCreateDispatcher }, 435 { "PPP_Instance_DidCreate:iiCC:i", PPP_Instance_DidCreateDispatcher },
438 { "PPP_Instance_DidDestroy:i:", PPP_Instance_DidDestroyDispatcher }, 436 { "PPP_Instance_DidDestroy:i:", PPP_Instance_DidDestroyDispatcher },
439 { "PPP_Instance_DidChangeView:iiC:", PPP_Instance_DidChangeViewDispatcher }, 437 { "PPP_Instance_DidChangeView:iiC:", PPP_Instance_DidChangeViewDispatcher },
440 { "PPP_Instance_DidChangeFocus:ib:", PPP_Instance_DidChangeFocusDispatcher }, 438 { "PPP_Instance_DidChangeFocus:ib:", PPP_Instance_DidChangeFocusDispatcher },
441 { "PPP_Instance_HandleDocumentLoad:ii:i", PPP_Instance_HandleDocumentLoadDispa tcher }, 439 { "PPP_Instance_HandleDocumentLoad:ii:i", PPP_Instance_HandleDocumentLoadDispa tcher },
442 { "PPP_Messaging_HandleMessage:iC:", PPP_Messaging_HandleMessageDispatcher }, 440 { "PPP_Messaging_HandleMessage:iC:", PPP_Messaging_HandleMessageDispatcher },
443 { "PPP_MouseLock_MouseLockLost:i:", PPP_MouseLock_MouseLockLostDispatcher }, 441 { "PPP_MouseLock_MouseLockLost:i:", PPP_MouseLock_MouseLockLostDispatcher },
444 { "PPP_Printing_QuerySupportedFormats:i:i", PPP_Printing_QuerySupportedFormats Dispatcher }, 442 { "PPP_Printing_QuerySupportedFormats:i:i", PPP_Printing_QuerySupportedFormats Dispatcher },
445 { "PPP_Printing_Begin:iC:i", PPP_Printing_BeginDispatcher }, 443 { "PPP_Printing_Begin:iC:i", PPP_Printing_BeginDispatcher },
446 { "PPP_Printing_PrintPages:iCi:i", PPP_Printing_PrintPagesDispatcher }, 444 { "PPP_Printing_PrintPages:iCi:i", PPP_Printing_PrintPagesDispatcher },
447 { "PPP_Printing_End:i:", PPP_Printing_EndDispatcher }, 445 { "PPP_Printing_End:i:", PPP_Printing_EndDispatcher },
448 { "PPP_Printing_IsScalingDisabled:i:i", PPP_Printing_IsScalingDisabledDispatch er }, 446 { "PPP_Printing_IsScalingDisabled:i:i", PPP_Printing_IsScalingDisabledDispatch er },
449 { "PPP_Scrollbar_ValueChanged:iii:", PPP_Scrollbar_ValueChangedDispatcher }, 447 { "PPP_Scrollbar_ValueChanged:iii:", PPP_Scrollbar_ValueChangedDispatcher },
450 { "PPP_Scrollbar_OverlayChanged:iii:", PPP_Scrollbar_OverlayChangedDispatcher }, 448 { "PPP_Scrollbar_OverlayChanged:iii:", PPP_Scrollbar_OverlayChangedDispatcher },
451 { "PPP_Selection_GetSelectedText:ii:C", PPP_Selection_GetSelectedTextDispatche r }, 449 { "PPP_Selection_GetSelectedText:ii:C", PPP_Selection_GetSelectedTextDispatche r },
452 { "PPP_Widget_Invalidate:iiC:", PPP_Widget_InvalidateDispatcher }, 450 { "PPP_Widget_Invalidate:iiC:", PPP_Widget_InvalidateDispatcher },
453 { "PPP_Zoom_Zoom:idi:", PPP_Zoom_ZoomDispatcher }, 451 { "PPP_Zoom_Zoom:idi:", PPP_Zoom_ZoomDispatcher },
454 { NULL, NULL } 452 { NULL, NULL }
455 }; 453 };
456 454
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698