summaryrefslogtreecommitdiffstats
path: root/base/time.h
diff options
context:
space:
mode:
authoravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-09 18:33:11 +0000
committeravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-09 18:33:11 +0000
commite0751dc32e9a2f42267df6583d6feea0815a9a1a (patch)
tree438c39a7f782c729b44b9b9cb538f802e270ce4d /base/time.h
parent27e64ed028a384c7c605dc3a68b1d4b87bf6a9a9 (diff)
downloadchromium_src-e0751dc32e9a2f42267df6583d6feea0815a9a1a.zip
chromium_src-e0751dc32e9a2f42267df6583d6feea0815a9a1a.tar.gz
chromium_src-e0751dc32e9a2f42267df6583d6feea0815a9a1a.tar.bz2
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
Diffstat (limited to 'base/time.h')
-rw-r--r--base/time.h5
1 files changed, 5 insertions, 0 deletions
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;