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

Unified Diff: jingle/notifier/listener/talk_mediator_impl.h

Issue 8589003: Add OVERRIDE to jingle/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: includes 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 | « jingle/notifier/listener/push_notifications_subscribe_task.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: jingle/notifier/listener/talk_mediator_impl.h
diff --git a/jingle/notifier/listener/talk_mediator_impl.h b/jingle/notifier/listener/talk_mediator_impl.h
index 93f122a1e3ac0569a6f43f7fcbfa2980e249f8eb..d49e05469ef61c6e7f7a07be55b63ed16f2aaed5 100644
--- a/jingle/notifier/listener/talk_mediator_impl.h
+++ b/jingle/notifier/listener/talk_mediator_impl.h
@@ -12,6 +12,7 @@
#include <string>
#include <vector>
+#include "base/compiler_specific.h"
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
#include "base/threading/non_thread_safe.h"
@@ -39,7 +40,7 @@ class TalkMediatorImpl
// TalkMediator implementation.
// Should be called on the same thread as the constructor.
- virtual void SetDelegate(TalkMediator::Delegate* delegate);
+ virtual void SetDelegate(TalkMediator::Delegate* delegate) OVERRIDE;
// All the methods below should be called on the same thread. It may or may
// not be same as the thread on which the object was constructed.
@@ -47,24 +48,25 @@ class TalkMediatorImpl
// |email| must be a valid email address (e.g., foo@bar.com).
virtual void SetAuthToken(const std::string& email,
const std::string& token,
- const std::string& token_service);
- virtual bool Login();
+ const std::string& token_service) OVERRIDE;
+ virtual bool Login() OVERRIDE;
// Users must call Logout once Login is called.
- virtual bool Logout();
+ virtual bool Logout() OVERRIDE;
- virtual void SendNotification(const Notification& data);
+ virtual void SendNotification(const Notification& data) OVERRIDE;
- virtual void AddSubscription(const Subscription& subscription);
+ virtual void AddSubscription(const Subscription& subscription) OVERRIDE;
// MediatorThread::Delegate implementation.
- virtual void OnConnectionStateChange(bool logged_in);
+ virtual void OnConnectionStateChange(bool logged_in) OVERRIDE;
- virtual void OnSubscriptionStateChange(bool subscribed);
+ virtual void OnSubscriptionStateChange(bool subscribed) OVERRIDE;
- virtual void OnIncomingNotification(const Notification& notification);
+ virtual void OnIncomingNotification(
+ const Notification& notification) OVERRIDE;
- virtual void OnOutgoingNotification();
+ virtual void OnOutgoingNotification() OVERRIDE;
private:
struct TalkMediatorState {
« no previous file with comments | « jingle/notifier/listener/push_notifications_subscribe_task.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698