| Index: ppapi/native_client/src/shared/ppapi_proxy/upcall_client.cc
|
| diff --git a/ppapi/native_client/src/shared/ppapi_proxy/upcall_client.cc b/ppapi/native_client/src/shared/ppapi_proxy/upcall_client.cc
|
| index b7df1355d31d44c578605033c4768d2d5f1ac402..6849db08bc90d4aeff0a9acf8b1bb8831d9f48fe 100644
|
| --- a/ppapi/native_client/src/shared/ppapi_proxy/upcall_client.cc
|
| +++ b/ppapi/native_client/src/shared/ppapi_proxy/upcall_client.cc
|
| @@ -1,40 +1,40 @@
|
| -// 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 "untrusted/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"
|
| -
|
| -NaClSrpcError PppUpcallRpcClient::PPB_Core_CallOnMainThread(
|
| - NaClSrpcChannel* channel,
|
| - int32_t delay_in_milliseconds,
|
| - int32_t callback_id,
|
| - int32_t result) {
|
| - NaClSrpcError retval;
|
| - retval = NaClSrpcInvokeBySignature(
|
| - channel,
|
| - "PPB_Core_CallOnMainThread:iii:",
|
| - delay_in_milliseconds,
|
| - callback_id,
|
| - result
|
| - );
|
| - return retval;
|
| -}
|
| -
|
| -
|
| +// 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 "untrusted/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"
|
| +
|
| +NaClSrpcError PppUpcallRpcClient::PPB_Core_CallOnMainThread(
|
| + NaClSrpcChannel* channel,
|
| + int32_t delay_in_milliseconds,
|
| + int32_t callback_id,
|
| + int32_t result) {
|
| + NaClSrpcError retval;
|
| + retval = NaClSrpcInvokeBySignature(
|
| + channel,
|
| + "PPB_Core_CallOnMainThread:iii:",
|
| + delay_in_milliseconds,
|
| + callback_id,
|
| + result
|
| + );
|
| + return retval;
|
| +}
|
| +
|
| +
|
|
|