Index: chrome/browser/metrics/metrics_services_manager.cc |
diff --git a/chrome/browser/metrics/metrics_services_manager.cc b/chrome/browser/metrics/metrics_services_manager.cc |
index 8278913da7da438199e2c1b3f363649bc54148d3..74d37107e154e3edde01268538c08bbb0d8fffde 100644 |
--- a/chrome/browser/metrics/metrics_services_manager.cc |
+++ b/chrome/browser/metrics/metrics_services_manager.cc |
@@ -4,12 +4,16 @@ |
#include "chrome/browser/metrics/metrics_services_manager.h" |
+#include <string> |
+ |
#include "base/command_line.h" |
+#include "base/logging.h" |
#include "base/prefs/pref_service.h" |
#include "chrome/browser/metrics/chrome_metrics_service_client.h" |
#include "chrome/browser/metrics/variations/variations_service.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/pref_names.h" |
+#include "chrome/installer/util/google_update_settings.h" |
#include "components/metrics/metrics_service.h" |
#include "components/metrics/metrics_state_manager.h" |
#include "components/rappor/rappor_service.h" |
@@ -70,7 +74,9 @@ metrics::MetricsStateManager* MetricsServicesManager::GetMetricsStateManager() { |
metrics_state_manager_ = metrics::MetricsStateManager::Create( |
local_state_, |
base::Bind(&MetricsServicesManager::IsMetricsReportingEnabled, |
- base::Unretained(this))); |
+ base::Unretained(this)), |
+ base::Bind(&GoogleUpdateSettings::StoreMetricsClientInfo), |
+ base::Bind(&GoogleUpdateSettings::LoadMetricsClientInfo)); |
} |
return metrics_state_manager_.get(); |
} |