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

Unified Diff: base/message_loop.h

Issue 7995: Move Time, TimeDelta and TimeTicks into namespace base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 2 months 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
Index: base/message_loop.h
===================================================================
--- base/message_loop.h (revision 3954)
+++ base/message_loop.h (working copy)
@@ -256,10 +256,10 @@
// This structure is copied around by value.
struct PendingTask {
- Task* task; // The task to run.
- Time delayed_run_time; // The time when the task should be run.
- int sequence_num; // Used to facilitate sorting by run time.
- bool nestable; // True if OK to dispatch from a nested loop.
+ Task* task; // The task to run.
+ base::Time delayed_run_time; // The time when the task should be run.
+ int sequence_num; // Used to facilitate sorting by run time.
+ bool nestable; // True if OK to dispatch from a nested loop.
PendingTask(Task* task, bool nestable)
: task(task), sequence_num(0), nestable(nestable) {
@@ -334,7 +334,7 @@
// base::MessagePump::Delegate methods:
virtual bool DoWork();
- virtual bool DoDelayedWork(Time* next_delayed_work_time);
+ virtual bool DoDelayedWork(base::Time* next_delayed_work_time);
virtual bool DoIdleWork();
// Start recording histogram info about events and action IF it was enabled
« no previous file with comments | « base/idletimer_unittest.cc ('k') | base/message_loop.cc » ('j') | base/time_format.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698