Index: base/time.cc |
diff --git a/base/time.cc b/base/time.cc |
index 83b5c09e40f7aa0e6c2fbdc8cd79d22a7fc3c0be..12519aaa11947bca5b2a50f98721a06992e7b70f 100644 |
--- a/base/time.cc |
+++ b/base/time.cc |
@@ -12,36 +12,6 @@ namespace base { |
// TimeDelta ------------------------------------------------------------------ |
-// static |
-TimeDelta TimeDelta::FromDays(int64 days) { |
- return TimeDelta(days * Time::kMicrosecondsPerDay); |
-} |
- |
-// static |
-TimeDelta TimeDelta::FromHours(int64 hours) { |
- return TimeDelta(hours * Time::kMicrosecondsPerHour); |
-} |
- |
-// static |
-TimeDelta TimeDelta::FromMinutes(int64 minutes) { |
- return TimeDelta(minutes * Time::kMicrosecondsPerMinute); |
-} |
- |
-// static |
-TimeDelta TimeDelta::FromSeconds(int64 secs) { |
- return TimeDelta(secs * Time::kMicrosecondsPerSecond); |
-} |
- |
-// static |
-TimeDelta TimeDelta::FromMilliseconds(int64 ms) { |
- return TimeDelta(ms * Time::kMicrosecondsPerMillisecond); |
-} |
- |
-// static |
-TimeDelta TimeDelta::FromMicroseconds(int64 us) { |
- return TimeDelta(us); |
-} |
- |
int TimeDelta::InDays() const { |
return static_cast<int>(delta_ / Time::kMicrosecondsPerDay); |
} |