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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/upcall.h

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, 4 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/upcall.h
===================================================================
--- ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/upcall.h (revision 0)
+++ ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/upcall.h (revision 0)
@@ -0,0 +1,44 @@
+// 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 PppUpcallRpcServer {
+ public:
+ static void PPB_Core_CallOnMainThread(
+ NaClSrpcRpc* rpc,
+ NaClSrpcClosure* done,
+ int32_t delay_in_milliseconds,
+ int32_t callback_id,
+ int32_t result);
+
+ private:
+ PppUpcallRpcServer();
+ PppUpcallRpcServer(const PppUpcallRpcServer&);
+ void operator=(const PppUpcallRpcServer);
+}; // class PppUpcallRpcServer
+
+class PpbUpcalls {
+ public:
+ static NaClSrpcHandlerDesc srpc_methods[];
+}; // class PpbUpcalls
+
+
+#endif // GEN_PPAPI_PROXY_UPCALL_H_
+

Powered by Google App Engine
This is Rietveld 408576698