Index: base/message_pump.h |
=================================================================== |
--- base/message_pump.h (revision 3954) |
+++ base/message_pump.h (working copy) |
@@ -7,10 +7,10 @@ |
#include "base/ref_counted.h" |
-class Time; |
- |
namespace base { |
+class Time; |
+ |
class MessagePump : public RefCountedThreadSafe<MessagePump> { |
public: |
// Please see the comments above the Run method for an illustration of how |
@@ -32,7 +32,7 @@ |
// |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(base::Time* 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. |
@@ -114,10 +114,9 @@ |
// 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 base::Time& delayed_work_time) = 0; |
}; |
} // namespace base |
#endif // BASE_MESSAGE_PUMP_H_ |
- |