Index: components/metrics/metrics_log.cc |
diff --git a/components/metrics/metrics_log.cc b/components/metrics/metrics_log.cc |
index 3824762e217d71c3d5d49fd925ab43207a558366..f74e5a767243f58dbe17392628195f519660c7b0 100644 |
--- a/components/metrics/metrics_log.cc |
+++ b/components/metrics/metrics_log.cc |
@@ -427,6 +427,9 @@ void MetricsLog::RecordEnvironment( |
local_state->SetString(prefs::kStabilitySavedSystemProfileHash, |
ComputeSHA1(serialized_system_profile)); |
} |
+ |
+ system_profile->set_log_date( |
+ (base::Time::Now() - base::Time::UnixEpoch()).InSeconds()); |
} |
bool MetricsLog::LoadSavedEnvironmentFromPrefs(std::string* app_version) { |