Index: ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/upcall.h |
=================================================================== |
--- ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/upcall.h (revision 0) |
+++ ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/upcall.h (revision 0) |
@@ -0,0 +1,40 @@ |
+// Copyright (c) 2011 The Native Client Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+// |
+// WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
+// |
+// Automatically generated code. See srpcgen.py |
+// |
+// NaCl Simple Remote Procedure Call interface abstractions. |
+ |
+#ifndef GEN_PPAPI_PROXY_UPCALL_H_ |
+#define GEN_PPAPI_PROXY_UPCALL_H_ |
+ |
+#ifndef __native_client__ |
+#include "native_client/src/include/portability.h" |
+#endif // __native_client__ |
+#include "native_client/src/shared/srpc/nacl_srpc.h" |
+#include "ppapi/c/pp_instance.h" |
+#include "ppapi/c/pp_module.h" |
+#include "ppapi/c/pp_resource.h" |
+ |
+class PppUpcallRpcClient { |
+ public: |
+ static NaClSrpcError PPB_Core_CallOnMainThread( |
+ NaClSrpcChannel* channel, |
+ int32_t delay_in_milliseconds, |
+ int32_t callback_id, |
+ int32_t result); |
+ |
+ private: |
+ PppUpcallRpcClient(); |
+ PppUpcallRpcClient(const PppUpcallRpcClient&); |
+ void operator=(const PppUpcallRpcClient); |
+}; // class PppUpcallRpcClient |
+ |
+ |
+ |
+ |
+#endif // GEN_PPAPI_PROXY_UPCALL_H_ |
+ |