diff options
Diffstat (limited to 'base/time.h')
-rw-r--r-- | base/time.h | 5 |
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; |