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

Unified Diff: base/idle_timer.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/idle_timer.h
===================================================================
--- base/idle_timer.h (revision 3954)
+++ base/idle_timer.h (working copy)
@@ -48,7 +48,7 @@
// idle_time: idle time required before this timer can run.
// repeat: true if the timer should fire multiple times per idle,
// false to fire once per idle.
- IdleTimer(TimeDelta idle_time, bool repeat);
+ IdleTimer(base::TimeDelta idle_time, bool repeat);
// On destruction, the IdleTimer will Stop itself.
virtual ~IdleTimer();
@@ -76,14 +76,14 @@
void StartTimer();
// Gets the number of milliseconds since the last input event.
- TimeDelta CurrentIdleTime();
+ base::TimeDelta CurrentIdleTime();
// Compute time until idle. Returns 0 if we are now idle.
- TimeDelta TimeUntilIdle();
+ base::TimeDelta TimeUntilIdle();
- TimeDelta idle_interval_;
+ base::TimeDelta idle_interval_;
bool repeat_;
- Time last_time_fired_; // The last time the idle timer fired.
+ base::Time last_time_fired_; // The last time the idle timer fired.
// will be 0 until the timer fires the first time.
OneShotTimer<IdleTimer> timer_;
« no previous file with comments | « base/histogram_unittest.cc ('k') | base/idle_timer.cc » ('j') | base/time_format.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698