diff options
Diffstat (limited to 'base/message_pump.h')
-rw-r--r-- | base/message_pump.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/message_pump.h b/base/message_pump.h index f8a097d..a354724 100644 --- a/base/message_pump.h +++ b/base/message_pump.h @@ -10,7 +10,7 @@ namespace base { -class Time; +class TimeTicks; class MessagePump : public RefCountedThreadSafe<MessagePump> { public: @@ -33,7 +33,7 @@ class MessagePump : public RefCountedThreadSafe<MessagePump> { // |next_delayed_work_time| is null (per Time::is_null), then the queue of // future delayed work (timer events) is currently empty, and no additional // calls to this function need to be scheduled. - virtual bool DoDelayedWork(Time* next_delayed_work_time) = 0; + virtual bool DoDelayedWork(TimeTicks* next_delayed_work_time) = 0; // Called from within Run just before the message pump goes to sleep. // Returns true to indicate that idle work was done. @@ -116,7 +116,7 @@ class MessagePump : public RefCountedThreadSafe<MessagePump> { // Schedule a DoDelayedWork callback to happen at the specified time, // cancelling any pending DoDelayedWork callback. This method may only be // used on the thread that called Run. - virtual void ScheduleDelayedWork(const Time& delayed_work_time) = 0; + virtual void ScheduleDelayedWork(const TimeTicks& delayed_work_time) = 0; }; } // namespace base |