From e0751dc32e9a2f42267df6583d6feea0815a9a1a Mon Sep 17 00:00:00 2001 From: "avi@google.com" Date: Tue, 9 Sep 2008 18:33:11 +0000 Subject: Bulk fixes to get Mac Test Shell more compile-happy. Review URL: http://codereview.chromium.org/1818 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1909 0039d316-1c4b-4281-b951-d872f2087c98 --- base/time.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'base/time.h') diff --git a/base/time.h b/base/time.h index cc66eda..427289d 100644 --- a/base/time.h +++ b/base/time.h @@ -375,6 +375,11 @@ class TimeTicks { return ticks_ == 0; } + // Returns the internal numeric value of the TimeTicks object. + int64 ToInternalValue() const { + return ticks_; + } + TimeTicks& operator=(TimeTicks other) { ticks_ = other.ticks_; return *this; -- cgit v1.1