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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_rpc_server.cc

Issue 9015040: NaCl: Remove getpid() calls from the PPAPI proxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright Created 8 years, 11 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/plugin_ppp_rpc_server.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_rpc_server.cc b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_rpc_server.cc
index 7006a05063b9731f8009e0d9ee2b1ff93a5040c3..dd8f312effe6debb6bac7f856673bd740e2bed18 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_rpc_server.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_rpc_server.cc
@@ -92,11 +92,9 @@ void StopUpcallSrpcChannel() {
void PppRpcServer::PPP_InitializeModule(
NaClSrpcRpc* rpc,
NaClSrpcClosure* done,
- int32_t pid,
PP_Module module,
NaClSrpcImcDescType upcall_channel_desc,
const char* service_description,
- int32_t* nacl_pid,
int32_t* success) {
NaClSrpcClosureRunner runner(done);
rpc->result = NACL_SRPC_RESULT_APP_ERROR;
@@ -118,7 +116,6 @@ void PppRpcServer::PPP_InitializeModule(
}
ppapi_proxy::SetModuleIdForSrpcChannel(rpc->channel, module);
*success = ::PPP_InitializeModule(module, ppapi_proxy::GetBrowserInterface);
- *nacl_pid = GETPID();
rpc->result = NACL_SRPC_RESULT_OK;
}
« no previous file with comments | « ppapi/native_client/src/shared/ppapi_proxy/browser_ppp.cc ('k') | ppapi/native_client/src/shared/ppapi_proxy/ppp.srpc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698