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(); |