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

Side by Side Diff: ppapi/native_client/src/trusted/plugin/srpc_client.cc

Issue 8786005: Move command line processing out of coordinator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/srpc_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 7
8 #include <string.h> 8 #include <string.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 if (NACL_SRPC_RESULT_OK != err) { 158 if (NACL_SRPC_RESULT_OK != err) {
159 PLUGIN_PRINTF(("SrpcClient::Invoke (err='%s', return 0)\n", 159 PLUGIN_PRINTF(("SrpcClient::Invoke (err='%s', return 0)\n",
160 NaClSrpcErrorString(err))); 160 NaClSrpcErrorString(err)));
161 return false; 161 return false;
162 } 162 }
163 163
164 PLUGIN_PRINTF(("SrpcClient::Invoke (return 1)\n")); 164 PLUGIN_PRINTF(("SrpcClient::Invoke (return 1)\n"));
165 return true; 165 return true;
166 } 166 }
167 167
168 void SrpcClient::AttachService(NaClSrpcService* service, void* instance_data) {
169 srpc_channel_.server = service;
170 srpc_channel_.server_instance_data = instance_data;
171 }
172
168 } // namespace plugin 173 } // namespace plugin
OLDNEW
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/srpc_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698