| Index: ppapi/native_client/src/shared/ppapi_proxy/upcall_server.cc
|
| diff --git a/ppapi/native_client/src/shared/ppapi_proxy/upcall_server.cc b/ppapi/native_client/src/shared/ppapi_proxy/upcall_server.cc
|
| index 9e5b90500831e6ee392f17462afad1d4e2d5518b..9ac25c8e73ca2b7f6a552ea67710d74a12c28163 100644
|
| --- a/ppapi/native_client/src/shared/ppapi_proxy/upcall_server.cc
|
| +++ b/ppapi/native_client/src/shared/ppapi_proxy/upcall_server.cc
|
| @@ -1,48 +1,48 @@
|
| -// Copyright (c) 2011 The Chromium 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.
|
| -
|
| -#include "trusted/srpcgen/upcall.h"
|
| -#ifdef __native_client__
|
| -#ifndef UNREFERENCED_PARAMETER
|
| -#define UNREFERENCED_PARAMETER(P) do { (void) P; } while (0)
|
| -#endif // UNREFERENCED_PARAMETER
|
| -#else
|
| -#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"
|
| -
|
| -namespace {
|
| -
|
| -static void PPB_Core_CallOnMainThreadDispatcher(
|
| - NaClSrpcRpc* rpc,
|
| - NaClSrpcArg** inputs,
|
| - NaClSrpcArg** outputs,
|
| - NaClSrpcClosure* done
|
| -) {
|
| - UNREFERENCED_PARAMETER(outputs);
|
| - PppUpcallRpcServer::PPB_Core_CallOnMainThread(
|
| - rpc,
|
| - done,
|
| - inputs[0]->u.ival,
|
| - inputs[1]->u.ival,
|
| - inputs[2]->u.ival
|
| - );
|
| -}
|
| -
|
| -} // namespace
|
| -
|
| -NaClSrpcHandlerDesc PpbUpcalls::srpc_methods[] = {
|
| - { "PPB_Core_CallOnMainThread:iii:", PPB_Core_CallOnMainThreadDispatcher },
|
| - { NULL, NULL }
|
| -};
|
| -
|
| +// Copyright (c) 2011 The Chromium 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.
|
| +
|
| +#include "trusted/srpcgen/upcall.h"
|
| +#ifdef __native_client__
|
| +#ifndef UNREFERENCED_PARAMETER
|
| +#define UNREFERENCED_PARAMETER(P) do { (void) P; } while (0)
|
| +#endif // UNREFERENCED_PARAMETER
|
| +#else
|
| +#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"
|
| +
|
| +namespace {
|
| +
|
| +static void PPB_Core_CallOnMainThreadDispatcher(
|
| + NaClSrpcRpc* rpc,
|
| + NaClSrpcArg** inputs,
|
| + NaClSrpcArg** outputs,
|
| + NaClSrpcClosure* done
|
| +) {
|
| + UNREFERENCED_PARAMETER(outputs);
|
| + PppUpcallRpcServer::PPB_Core_CallOnMainThread(
|
| + rpc,
|
| + done,
|
| + inputs[0]->u.ival,
|
| + inputs[1]->u.ival,
|
| + inputs[2]->u.ival
|
| + );
|
| +}
|
| +
|
| +} // namespace
|
| +
|
| +NaClSrpcHandlerDesc PpbUpcalls::srpc_methods[] = {
|
| + { "PPB_Core_CallOnMainThread:iii:", PPB_Core_CallOnMainThreadDispatcher },
|
| + { NULL, NULL }
|
| +};
|
| +
|
|
|