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

Unified Diff: components/nacl/renderer/plugin/srpc_client.h

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, 10 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
« no previous file with comments | « no previous file | components/nacl/renderer/plugin/srpc_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/renderer/plugin/srpc_client.h
diff --git a/components/nacl/renderer/plugin/srpc_client.h b/components/nacl/renderer/plugin/srpc_client.h
index 4be0919c8c240b96d01e2186593106c746600de9..7bd4a04f472fbe0b49bd4006b7a23ea757f51fac 100644
--- a/components/nacl/renderer/plugin/srpc_client.h
+++ b/components/nacl/renderer/plugin/srpc_client.h
@@ -23,9 +23,7 @@ class DescWrapper;
namespace plugin {
-class ErrorInfo;
class MethodInfo;
-class Plugin;
class SrpcParams;
// SrpcClient represents an SRPC connection to a client.
@@ -46,12 +44,9 @@ class SrpcClient {
// Invoke an SRPC method.
bool Invoke(const std::string& method_name, SrpcParams* params);
// Get the error status from that last method invocation
- NaClSrpcError GetLastError() { return last_error_; }
+ NaClSrpcError GetLastError() const { return last_error_; }
bool InitParams(const std::string& method_name, SrpcParams* params);
- // Attach a service for reverse-direction (from .nexe) RPCs.
- void AttachService(NaClSrpcService* service, void* instance_data);
-
private:
NACL_DISALLOW_COPY_AND_ASSIGN(SrpcClient);
SrpcClient();
« no previous file with comments | « no previous file | components/nacl/renderer/plugin/srpc_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698