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

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

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, 3 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) 2011 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 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
6 //
7 // Automatically generated code. See srpcgen.py
8 //
9 // NaCl Simple Remote Procedure Call interface abstractions.
10
11 #include "untrusted/srpcgen/upcall.h"
12 #ifdef __native_client__
13 #ifndef UNREFERENCED_PARAMETER
14 #define UNREFERENCED_PARAMETER(P) do { (void) P; } while (0)
15 #endif // UNREFERENCED_PARAMETER
16 #else
17 #include "native_client/src/include/portability.h"
18 #endif // __native_client__
19 #include "native_client/src/shared/srpc/nacl_srpc.h"
20 #include "ppapi/c/pp_instance.h"
21 #include "ppapi/c/pp_module.h"
22 #include "ppapi/c/pp_resource.h"
23
24 NaClSrpcError PppUpcallRpcClient::PPB_Core_CallOnMainThread(
25 NaClSrpcChannel* channel,
26 int32_t delay_in_milliseconds,
27 int32_t callback_id,
28 int32_t result) {
29 NaClSrpcError retval;
30 retval = NaClSrpcInvokeBySignature(
31 channel,
32 "PPB_Core_CallOnMainThread:iii:",
33 delay_in_milliseconds,
34 callback_id,
35 result
36 );
37 return retval;
38 }
39
40
OLDNEW
« no previous file with comments | « ppapi/native_client/src/shared/ppapi_proxy/upcall.srpc ('k') | ppapi/native_client/src/shared/ppapi_proxy/upcall_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698