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

Unified Diff: base/message_pump_mac.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/message_pump_libevent.h ('k') | base/metrics/histogram.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_mac.h
diff --git a/base/message_pump_mac.h b/base/message_pump_mac.h
index 08d6b832ef53d05711d4af15d4d1890601cf45e9..501d8c68d592677aebba8274e875978aa2d0a430 100644
--- a/base/message_pump_mac.h
+++ b/base/message_pump_mac.h
@@ -65,11 +65,11 @@ class MessagePumpCFRunLoopBase : public MessagePump {
// in the DoRun method. MessagePumpCFRunLoopBase::Run calls DoRun directly.
// This arrangement is used because MessagePumpCFRunLoopBase needs to set
// up and tear down things before and after the "meat" of DoRun.
- virtual void Run(Delegate* delegate);
+ virtual void Run(Delegate* delegate) OVERRIDE;
virtual void DoRun(Delegate* delegate) = 0;
- virtual void ScheduleWork();
- virtual void ScheduleDelayedWork(const TimeTicks& delayed_work_time);
+ virtual void ScheduleWork() OVERRIDE;
+ virtual void ScheduleDelayedWork(const TimeTicks& delayed_work_time) OVERRIDE;
protected:
// Accessors for private data members to be used by subclasses.
@@ -191,11 +191,11 @@ class MessagePumpCFRunLoop : public MessagePumpCFRunLoopBase {
public:
MessagePumpCFRunLoop();
- virtual void DoRun(Delegate* delegate);
- virtual void Quit();
+ virtual void DoRun(Delegate* delegate) OVERRIDE;
+ virtual void Quit() OVERRIDE;
private:
- virtual void EnterExitRunLoop(CFRunLoopActivity activity);
+ virtual void EnterExitRunLoop(CFRunLoopActivity activity) OVERRIDE;
// True if Quit is called to stop the innermost MessagePump
// (innermost_quittable_) but some other CFRunLoopRun loop (nesting_level_)
@@ -210,8 +210,8 @@ class MessagePumpNSRunLoop : public MessagePumpCFRunLoopBase {
MessagePumpNSRunLoop();
virtual ~MessagePumpNSRunLoop();
- virtual void DoRun(Delegate* delegate);
- virtual void Quit();
+ virtual void DoRun(Delegate* delegate) OVERRIDE;
+ virtual void Quit() OVERRIDE;
private:
// A source that doesn't do anything but provide something signalable
@@ -229,12 +229,12 @@ class MessagePumpNSApplication : public MessagePumpCFRunLoopBase {
public:
MessagePumpNSApplication();
- virtual void DoRun(Delegate* delegate);
- virtual void Quit();
+ virtual void DoRun(Delegate* delegate) OVERRIDE;
+ virtual void Quit() OVERRIDE;
protected:
// Returns nil if NSApp is currently in the middle of calling -sendEvent.
- virtual NSAutoreleasePool* CreateAutoreleasePool();
+ virtual NSAutoreleasePool* CreateAutoreleasePool() OVERRIDE;
private:
// False after Quit is called.
« no previous file with comments | « base/message_pump_libevent.h ('k') | base/metrics/histogram.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698