diff options
author | thakis <thakis@chromium.org> | 2014-10-28 17:30:41 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-29 00:31:18 +0000 |
commit | 6d1bd47a5a687f1202266d395f93ff353f471938 (patch) | |
tree | 1209dcd1ce6469f25e02c54d8e5d944460fe76c2 /ipc | |
parent | 55134a0d24f57a4228e284e4186a6e1601497da0 (diff) | |
download | chromium_src-6d1bd47a5a687f1202266d395f93ff353f471938.zip chromium_src-6d1bd47a5a687f1202266d395f93ff353f471938.tar.gz chromium_src-6d1bd47a5a687f1202266d395f93ff353f471938.tar.bz2 |
Add a few missing overrides found by a new clang warning.
Namely, -Winconsistent-missing-override. No behavior change.
BUG=428099
Review URL: https://codereview.chromium.org/687693004
Cr-Commit-Position: refs/heads/master@{#301746}
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_channel.h | 3 | ||||
-rw-r--r-- | ipc/ipc_channel_win.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h index f077def..2fc52cb 100644 --- a/ipc/ipc_channel.h +++ b/ipc/ipc_channel.h @@ -173,11 +173,12 @@ class IPC_EXPORT Channel : public Sender { // Get its own process id. This value is told to the peer. virtual base::ProcessId GetSelfPID() const = 0; + // Overridden from ipc::Sender. // Send a message over the Channel to the listener on the other end. // // |message| must be allocated using operator new. This object will be // deleted once the contents of the Message have been sent. - virtual bool Send(Message* message) = 0; + virtual bool Send(Message* message) override = 0; // NaCl in Non-SFI mode runs on Linux directly, and the following functions // compiled on Linux are also needed. Please see also comments in diff --git a/ipc/ipc_channel_win.h b/ipc/ipc_channel_win.h index 2f9fee2..7a2d484 100644 --- a/ipc/ipc_channel_win.h +++ b/ipc/ipc_channel_win.h @@ -61,7 +61,7 @@ class ChannelWin : public Channel, // MessageLoop::IOHandler implementation. virtual void OnIOCompleted(base::MessageLoopForIO::IOContext* context, DWORD bytes_transfered, - DWORD error); + DWORD error) override; private: struct State { |