Index: ipc/mojo/ipc_channel_mojo_readers.h |
diff --git a/ipc/mojo/ipc_channel_mojo_readers.h b/ipc/mojo/ipc_channel_mojo_readers.h |
index cadf453c393b24cabc90b376d3bf64871a1c0607..fae62adc7663f14828303019d372e759fba7a8cf 100644 |
--- a/ipc/mojo/ipc_channel_mojo_readers.h |
+++ b/ipc/mojo/ipc_channel_mojo_readers.h |
@@ -33,9 +33,9 @@ |
bool Send(scoped_ptr<Message> message); |
// MessagePipeReader implementation |
- void OnMessageReceived() override; |
- void OnPipeClosed() override; |
- void OnPipeError(MojoResult error) override; |
+ virtual void OnMessageReceived() override; |
+ virtual void OnPipeClosed() override; |
+ virtual void OnPipeError(MojoResult error) override; |
private: |
ChannelMojo* owner_; |
@@ -52,8 +52,8 @@ |
virtual bool Connect(); |
// MessagePipeReader implementation |
- void OnPipeClosed() override; |
- void OnPipeError(MojoResult error) override; |
+ virtual void OnPipeClosed() override; |
+ virtual void OnPipeError(MojoResult error) override; |
protected: |
ChannelMojo* owner_; |
@@ -65,13 +65,13 @@ |
class ServerControlReader : public ControlReader { |
public: |
ServerControlReader(mojo::ScopedMessagePipeHandle pipe, ChannelMojo* owner); |
- ~ServerControlReader() override; |
+ virtual ~ServerControlReader(); |
// ControlReader override |
- bool Connect() override; |
+ virtual bool Connect() override; |
// MessagePipeReader implementation |
- void OnMessageReceived() override; |
+ virtual void OnMessageReceived() override; |
private: |
MojoResult SendHelloRequest(); |
@@ -88,7 +88,7 @@ |
ClientControlReader(mojo::ScopedMessagePipeHandle pipe, ChannelMojo* owner); |
// MessagePipeReader implementation |
- void OnMessageReceived() override; |
+ virtual void OnMessageReceived() override; |
private: |
MojoResult RespondHelloRequest(MojoHandle message_channel); |