| Index: ipc/ipc_channel_posix.h
|
| diff --git a/ipc/ipc_channel_posix.h b/ipc/ipc_channel_posix.h
|
| index 717e43ee05fa710b27db64af7530360d2fcfef8c..1cb76102c3905eba818929ed536a73f47f048111 100644
|
| --- a/ipc/ipc_channel_posix.h
|
| +++ b/ipc/ipc_channel_posix.h
|
| @@ -56,16 +56,16 @@ class IPC_EXPORT ChannelPosix : public Channel,
|
| public:
|
| ChannelPosix(const IPC::ChannelHandle& channel_handle, Mode mode,
|
| Listener* listener);
|
| - virtual ~ChannelPosix();
|
| + ~ChannelPosix() override;
|
|
|
| // Channel implementation
|
| - virtual bool Connect() override;
|
| - virtual void Close() override;
|
| - virtual bool Send(Message* message) override;
|
| - virtual base::ProcessId GetPeerPID() const override;
|
| - virtual base::ProcessId GetSelfPID() const override;
|
| - virtual int GetClientFileDescriptor() const override;
|
| - virtual base::ScopedFD TakeClientFileDescriptor() override;
|
| + bool Connect() override;
|
| + void Close() override;
|
| + bool Send(Message* message) override;
|
| + base::ProcessId GetPeerPID() const override;
|
| + base::ProcessId GetSelfPID() const override;
|
| + int GetClientFileDescriptor() const override;
|
| + base::ScopedFD TakeClientFileDescriptor() override;
|
|
|
| // Returns true if the channel supports listening for connections.
|
| bool AcceptsConnections() const;
|
| @@ -102,12 +102,10 @@ class IPC_EXPORT ChannelPosix : public Channel,
|
| void QueueCloseFDMessage(int fd, int hops);
|
|
|
| // ChannelReader implementation.
|
| - virtual ReadState ReadData(char* buffer,
|
| - int buffer_len,
|
| - int* bytes_read) override;
|
| - virtual bool WillDispatchInputMessage(Message* msg) override;
|
| - virtual bool DidEmptyInputBuffers() override;
|
| - virtual void HandleInternalMessage(const Message& msg) override;
|
| + ReadState ReadData(char* buffer, int buffer_len, int* bytes_read) override;
|
| + bool WillDispatchInputMessage(Message* msg) override;
|
| + bool DidEmptyInputBuffers() override;
|
| + void HandleInternalMessage(const Message& msg) override;
|
|
|
| #if defined(IPC_USES_READWRITE)
|
| // Reads the next message from the fd_pipe_ and appends them to the
|
| @@ -129,8 +127,8 @@ class IPC_EXPORT ChannelPosix : public Channel,
|
| void ClearInputFDs();
|
|
|
| // MessageLoopForIO::Watcher implementation.
|
| - virtual void OnFileCanReadWithoutBlocking(int fd) override;
|
| - virtual void OnFileCanWriteWithoutBlocking(int fd) override;
|
| + void OnFileCanReadWithoutBlocking(int fd) override;
|
| + void OnFileCanWriteWithoutBlocking(int fd) override;
|
|
|
| Mode mode_;
|
|
|
|
|