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

Unified Diff: base/perftimer.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/perftimer.h
===================================================================
--- base/perftimer.h (revision 3954)
+++ base/perftimer.h (working copy)
@@ -31,16 +31,16 @@
class PerfTimer {
public:
PerfTimer() {
- begin_ = TimeTicks::Now();
+ begin_ = base::TimeTicks::Now();
}
// Returns the time elapsed since object construction
- TimeDelta Elapsed() const {
- return TimeTicks::Now() - begin_;
+ base::TimeDelta Elapsed() const {
+ return base::TimeTicks::Now() - begin_;
}
private:
- TimeTicks begin_;
+ base::TimeTicks begin_;
};
// ----------------------------------------------------------------------
« no previous file with comments | « base/observer_list_unittest.cc ('k') | base/pr_time_unittest.cc » ('j') | base/time_format.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698