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

Unified Diff: base/message_pump_default.h

Issue 3884001: Switch to using TimeTicks rather than Time in message loops (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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.h ('k') | base/message_pump_default.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_default.h
===================================================================
--- base/message_pump_default.h (revision 65315)
+++ base/message_pump_default.h (working copy)
@@ -21,7 +21,7 @@
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:
// This flag is set to false when Run should return.
@@ -31,7 +31,7 @@
WaitableEvent event_;
// The time at which we should call DoDelayedWork.
- Time delayed_work_time_;
+ TimeTicks delayed_work_time_;
DISALLOW_COPY_AND_ASSIGN(MessagePumpDefault);
};
« no previous file with comments | « base/message_pump.h ('k') | base/message_pump_default.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698