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

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

Issue 7778046: Update Native Client Authors to be Chromium Authors for the code moved from the (Closed) Base URL: svn://chrome-svn/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
1 // Copyright (c) 2010 The Native Client Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // SRPC-abstraction wrappers around PPP functions. 5 // SRPC-abstraction wrappers around PPP functions.
6 6
7 #include <stdarg.h> 7 #include <stdarg.h>
8 8
9 #include "native_client/src/include/portability.h" 9 #include "native_client/src/include/portability.h"
10 #include "native_client/src/include/portability_process.h" 10 #include "native_client/src/include/portability_process.h"
11 #include "native_client/src/shared/ppapi_proxy/plugin_globals.h" 11 #include "native_client/src/shared/ppapi_proxy/plugin_globals.h"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 int32_t* exports_interface_name) { 145 int32_t* exports_interface_name) {
146 NaClSrpcClosureRunner runner(done); 146 NaClSrpcClosureRunner runner(done);
147 rpc->result = NACL_SRPC_RESULT_APP_ERROR; 147 rpc->result = NACL_SRPC_RESULT_APP_ERROR;
148 DebugPrintf("PPP_GetInterface('%s')\n", interface_name); 148 DebugPrintf("PPP_GetInterface('%s')\n", interface_name);
149 // Since the proxy will make calls to proxied interfaces, we need simply 149 // Since the proxy will make calls to proxied interfaces, we need simply
150 // to know whether the plugin exports a given interface. 150 // to know whether the plugin exports a given interface.
151 const void* plugin_interface = ::PPP_GetInterface(interface_name); 151 const void* plugin_interface = ::PPP_GetInterface(interface_name);
152 *exports_interface_name = (plugin_interface != NULL); 152 *exports_interface_name = (plugin_interface != NULL);
153 rpc->result = NACL_SRPC_RESULT_OK; 153 rpc->result = NACL_SRPC_RESULT_OK;
154 } 154 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698