Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Unified Diff: ipc/ipc_sync_channel.h

Issue 8590004: Add OVERRIDE to ipc/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipc/ipc_channel_proxy.h ('k') | ipc/ipc_sync_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_sync_channel.h
diff --git a/ipc/ipc_sync_channel.h b/ipc/ipc_sync_channel.h
index ae9a7656364ebe28bb7aec601fe782408ff95cf5..448d355fbce680068bafbce346b484396140161f 100644
--- a/ipc/ipc_sync_channel.h
+++ b/ipc/ipc_sync_channel.h
@@ -80,7 +80,7 @@ class IPC_EXPORT SyncChannel : public ChannelProxy,
virtual ~SyncChannel();
- virtual bool Send(Message* message);
+ virtual bool Send(Message* message) OVERRIDE;
virtual bool SendWithTimeout(Message* message, int timeout_ms);
// Whether we allow sending messages with no time-out.
@@ -154,19 +154,19 @@ class IPC_EXPORT SyncChannel : public ChannelProxy,
// ChannelProxy methods that we override.
// Called on the listener thread.
- virtual void Clear();
+ virtual void Clear() OVERRIDE;
// Called on the IPC thread.
- virtual bool OnMessageReceived(const Message& msg);
- virtual void OnChannelError();
- virtual void OnChannelOpened();
- virtual void OnChannelClosed();
+ virtual bool OnMessageReceived(const Message& msg) OVERRIDE;
+ virtual void OnChannelError() OVERRIDE;
+ virtual void OnChannelOpened() OVERRIDE;
+ virtual void OnChannelClosed() OVERRIDE;
// Cancels all pending Send calls.
void CancelPendingSends();
// WaitableEventWatcher::Delegate implementation.
- virtual void OnWaitableEventSignaled(base::WaitableEvent* arg);
+ virtual void OnWaitableEventSignaled(base::WaitableEvent* arg) OVERRIDE;
typedef std::deque<PendingSyncMsg> PendingSyncMessageQueue;
PendingSyncMessageQueue deserializers_;
@@ -181,7 +181,7 @@ class IPC_EXPORT SyncChannel : public ChannelProxy,
private:
// WaitableEventWatcher::Delegate implementation.
- virtual void OnWaitableEventSignaled(base::WaitableEvent* arg);
+ virtual void OnWaitableEventSignaled(base::WaitableEvent* arg) OVERRIDE;
SyncContext* sync_context() {
return reinterpret_cast<SyncContext*>(context());
« no previous file with comments | « ipc/ipc_channel_proxy.h ('k') | ipc/ipc_sync_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698