Chromium Code Reviews| Index: components/metrics/daily_event.cc |
| diff --git a/components/metrics/daily_event.cc b/components/metrics/daily_event.cc |
| index 42ba48c2784295e0b73fa87b5495dceefb6a6a4a..2ab549092513ed1d29b5303557a4a4a6f754e266 100644 |
| --- a/components/metrics/daily_event.cc |
| +++ b/components/metrics/daily_event.cc |
| @@ -6,7 +6,6 @@ |
| #include <utility> |
| -#include "base/i18n/time_formatting.h" |
| #include "base/metrics/histogram.h" |
| #include "components/prefs/pref_registry_simple.h" |
| #include "components/prefs/pref_service.h" |
| @@ -69,8 +68,7 @@ void DailyEvent::CheckInterval() { |
| // The first time we call CheckInterval, we read the time stored in prefs. |
| last_fired_ = base::Time::FromInternalValue( |
| pref_service_->GetInt64(pref_name_)); |
| - DVLOG(1) << "DailyEvent time loaded: " |
| - << base::TimeFormatShortDateAndTime(last_fired_); |
| + DVLOG(1) << "DailyEvent time loaded: " << last_fired_; |
|
xunjieli
2016/03/21 21:02:13
base::Time converts to a UTC timestamp automatical
|
| if (last_fired_.is_null()) { |
| DVLOG(1) << "DailyEvent first run."; |
| RecordIntervalTypeHistogram(histogram_name_, FIRST_RUN); |