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

Side by Side Diff: components/nacl/renderer/plugin/srpc_client.cc

Issue 977893003: Remove some unused NaCl srpc methods (AttachService, ctor variant) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: xx Created 5 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2012 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 #include "components/nacl/renderer/plugin/srpc_client.h" 7 #include "components/nacl/renderer/plugin/srpc_client.h"
8 8
9 #include <string.h> 9 #include <string.h>
10 10
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 if (NACL_SRPC_RESULT_OK != last_error_) { 184 if (NACL_SRPC_RESULT_OK != last_error_) {
185 PLUGIN_PRINTF(("SrpcClient::Invoke (err='%s', return 0)\n", 185 PLUGIN_PRINTF(("SrpcClient::Invoke (err='%s', return 0)\n",
186 NaClSrpcErrorString(last_error_))); 186 NaClSrpcErrorString(last_error_)));
187 return false; 187 return false;
188 } 188 }
189 189
190 PLUGIN_PRINTF(("SrpcClient::Invoke (return 1)\n")); 190 PLUGIN_PRINTF(("SrpcClient::Invoke (return 1)\n"));
191 return true; 191 return true;
192 } 192 }
193 193
194 void SrpcClient::AttachService(NaClSrpcService* service, void* instance_data) {
195 srpc_channel_.server = service;
196 srpc_channel_.server_instance_data = instance_data;
197 }
198
199 } // namespace plugin 194 } // namespace plugin
OLDNEW
« no previous file with comments | « components/nacl/renderer/plugin/srpc_client.h ('k') | components/nacl/renderer/plugin/srpc_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698