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

Unified Diff: base/message_loop.h

Issue 8520018: Add OVERRIDE to base/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: extra header 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 | « base/json/json_value_serializer.h ('k') | base/message_loop_proxy_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop.h
diff --git a/base/message_loop.h b/base/message_loop.h
index c14b663836f6b67df14a5c4a6fbfc2e4ba4c8f6e..10b8d5541722f727b90d7db31102a4948cf9fe71 100644
--- a/base/message_loop.h
+++ b/base/message_loop.h
@@ -252,7 +252,7 @@ class BASE_EXPORT MessageLoop : public base::MessagePump::Delegate {
// TODO(jhawkins): Remove once task.h is removed.
class QuitTask : public Task {
public:
- virtual void Run() {
+ virtual void Run() OVERRIDE {
MessageLoop::current()->Quit();
}
};
@@ -509,9 +509,9 @@ class BASE_EXPORT MessageLoop : public base::MessagePump::Delegate {
void HistogramEvent(int event);
// base::MessagePump::Delegate methods:
- virtual bool DoWork();
- virtual bool DoDelayedWork(base::TimeTicks* next_delayed_work_time);
- virtual bool DoIdleWork();
+ virtual bool DoWork() OVERRIDE;
+ virtual bool DoDelayedWork(base::TimeTicks* next_delayed_work_time) OVERRIDE;
+ virtual bool DoIdleWork() OVERRIDE;
Type type_;
« no previous file with comments | « base/json/json_value_serializer.h ('k') | base/message_loop_proxy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698