| Index: components/metrics/metrics_log.cc
|
| diff --git a/components/metrics/metrics_log.cc b/components/metrics/metrics_log.cc
|
| index c5f63be3666f35a59d4d81b67cbd82d6074c9bce..6076f88a82966bc3b1d21bb3c3a728af4e4954d0 100644
|
| --- a/components/metrics/metrics_log.cc
|
| +++ b/components/metrics/metrics_log.cc
|
| @@ -330,7 +330,8 @@ void MetricsLog::WriteRealtimeStabilityAttributes(
|
|
|
| void MetricsLog::RecordEnvironment(
|
| const std::vector<metrics::MetricsProvider*>& metrics_providers,
|
| - const std::vector<variations::ActiveGroupId>& synthetic_trials) {
|
| + const std::vector<variations::ActiveGroupId>& synthetic_trials,
|
| + int64 install_date) {
|
| DCHECK(!HasEnvironment());
|
|
|
| SystemProfileProto* system_profile = uma_proto()->mutable_system_profile();
|
| @@ -347,8 +348,6 @@ void MetricsLog::RecordEnvironment(
|
| // Reduce granularity of the enabled_date field to nearest hour.
|
| system_profile->set_uma_enabled_date(RoundSecondsToHour(enabled_date));
|
|
|
| - int64 install_date = client_->GetInstallDate();
|
| -
|
| // Reduce granularity of the install_date field to nearest hour.
|
| system_profile->set_install_date(RoundSecondsToHour(install_date));
|
|
|
|
|