diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-20 06:30:58 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-20 06:30:58 +0000 |
commit | b24250fc9857d219ad617e2a14e145b65724cb61 (patch) | |
tree | 858c55a80b23d0e8e62d1f9d4c4b724c6c924860 /base/message_pump_default.h | |
parent | 099cec761ad00232f5ce8483a163356b06065980 (diff) | |
download | chromium_src-b24250fc9857d219ad617e2a14e145b65724cb61.zip chromium_src-b24250fc9857d219ad617e2a14e145b65724cb61.tar.gz chromium_src-b24250fc9857d219ad617e2a14e145b65724cb61.tar.bz2 |
reland r1075 w/ tweak to fix test failures
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1084 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_pump_default.h')
-rw-r--r-- | base/message_pump_default.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/base/message_pump_default.h b/base/message_pump_default.h index 1c1af71..7c65013 100644 --- a/base/message_pump_default.h +++ b/base/message_pump_default.h @@ -44,7 +44,7 @@ class MessagePumpDefault : public MessagePump { virtual void Run(Delegate* delegate); virtual void Quit(); virtual void ScheduleWork(); - virtual void ScheduleDelayedWork(const TimeDelta& delay); + virtual void ScheduleDelayedWork(const Time& delayed_work_time); private: // This flag is set to false when Run should return. @@ -53,6 +53,9 @@ class MessagePumpDefault : public MessagePump { // Used to sleep until there is more work to do. WaitableEvent event_; + // The time at which we should call DoDelayedWork. + Time delayed_work_time_; + DISALLOW_COPY_AND_ASSIGN(MessagePumpDefault); }; |