summaryrefslogtreecommitdiffstats
path: root/base/message_pump_libevent.h
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-06 22:23:29 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-06 22:23:29 +0000
commit7e7fab44ba1068bdce201757e82b6650fbca455d (patch)
treea25d1d1235e61672c95d66a7a287cc47f175799f /base/message_pump_libevent.h
parentffb65401dabf6ce5a74fcc416690b2525168ab8a (diff)
downloadchromium_src-7e7fab44ba1068bdce201757e82b6650fbca455d.zip
chromium_src-7e7fab44ba1068bdce201757e82b6650fbca455d.tar.gz
chromium_src-7e7fab44ba1068bdce201757e82b6650fbca455d.tar.bz2
Switch to using TimeTicks rather than Time in message loops
Switch to using TimeTicks rather than Time so that we are not dependent on changes in the system clock. r=mbelshe,darin Review URL: http://codereview.chromium.org/3884001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65322 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_pump_libevent.h')
-rw-r--r--base/message_pump_libevent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/message_pump_libevent.h b/base/message_pump_libevent.h
index f271612..d8d000d 100644
--- a/base/message_pump_libevent.h
+++ b/base/message_pump_libevent.h
@@ -119,7 +119,7 @@ class MessagePumpLibevent : public MessagePump {
virtual void Run(Delegate* delegate);
virtual void Quit();
virtual void ScheduleWork();
- virtual void ScheduleDelayedWork(const Time& delayed_work_time);
+ virtual void ScheduleDelayedWork(const TimeTicks& delayed_work_time);
private:
void WillProcessIOEvent();
@@ -135,7 +135,7 @@ class MessagePumpLibevent : public MessagePump {
bool in_run_;
// The time at which we should call DoDelayedWork.
- Time delayed_work_time_;
+ TimeTicks delayed_work_time_;
// Libevent dispatcher. Watches all sockets registered with it, and sends
// readiness callbacks when a socket is ready for I/O.