Index: base/time/time.h |
diff --git a/base/time/time.h b/base/time/time.h |
index 5d7033af1874e62dd847abf2dc6d739ef757dc5e..a236a3f09a04d9ab514f92b17a35cba3dd79213c 100644 |
--- a/base/time/time.h |
+++ b/base/time/time.h |
@@ -300,6 +300,10 @@ class BASE_EXPORT Time { |
static Time FromJsTime(double ms_since_epoch); |
double ToJsTime() const; |
+ // Converts to Java convention for times, a number of |
+ // milliseconds since the epoch. |
+ int64 ToJavaTime() const; |
+ |
#if defined(OS_POSIX) |
static Time FromTimeVal(struct timeval t); |
struct timeval ToTimeVal() const; |