Index: mojo/public/cpp/bindings/tests/sample_service_unittest.cc |
diff --git a/mojo/public/cpp/bindings/tests/sample_service_unittest.cc b/mojo/public/cpp/bindings/tests/sample_service_unittest.cc |
index 1cb1af42f7bb579b570d7239bdbc437713807f26..bd1a552293932e96eead783e1dd9dd0c5c54daee 100644 |
--- a/mojo/public/cpp/bindings/tests/sample_service_unittest.cc |
+++ b/mojo/public/cpp/bindings/tests/sample_service_unittest.cc |
@@ -266,13 +266,6 @@ void DumpHex(const uint8_t* bytes, uint32_t num_bytes) { |
class ServiceImpl : public Service { |
public: |
- ServiceImpl() : client_(NULL) { |
- } |
- |
- virtual void SetClient(ServiceClient* client) MOJO_OVERRIDE { |
- client_ = client; |
- } |
- |
virtual void Frobinate(const Foo& foo, BazOptions baz, PortPtr port) |
MOJO_OVERRIDE { |
// Users code goes here to handle the incoming Frobinate message. |
@@ -290,9 +283,6 @@ class ServiceImpl : public Service { |
Print(depth, "port", port.get()); |
} |
} |
- |
- private: |
- ServiceClient* client_; |
}; |
class ServiceProxyImpl : public ServiceProxy { |
@@ -300,10 +290,6 @@ class ServiceProxyImpl : public ServiceProxy { |
explicit ServiceProxyImpl(mojo::MessageReceiver* receiver) |
: ServiceProxy(receiver) { |
} |
- |
- virtual void SetClient(ServiceClient* client) MOJO_OVERRIDE { |
- assert(false); |
- } |
}; |
class SimpleMessageReceiver : public mojo::MessageReceiver { |