| Index: base/time/time.cc | 
| diff --git a/base/time/time.cc b/base/time/time.cc | 
| index 4e942015fcf578015138c7a824ea65ac6b416b8c..ba129954235f2c82db3f67ea4816540d87783ce8 100644 | 
| --- a/base/time/time.cc | 
| +++ b/base/time/time.cc | 
| @@ -203,6 +203,11 @@ double Time::ToJsTime() const { | 
| kMicrosecondsPerMillisecond); | 
| } | 
|  | 
| +Time Time::FromJavaTime(int64_t ms_since_epoch) { | 
| +  return base::Time::UnixEpoch() + | 
| +         base::TimeDelta::FromMilliseconds(ms_since_epoch); | 
| +} | 
| + | 
| int64_t Time::ToJavaTime() const { | 
| if (is_null()) { | 
| // Preserve 0 so the invalid result doesn't depend on the platform. | 
|  |