Index: chrome/browser/metrics/chrome_metrics_service_client.cc |
diff --git a/chrome/browser/metrics/chrome_metrics_service_client.cc b/chrome/browser/metrics/chrome_metrics_service_client.cc |
index 6aa71c8233d83c39f11217f8f3cbf356cb27f17d..2082442849181eec5c2b04901d9720e26d8d9b7c 100644 |
--- a/chrome/browser/metrics/chrome_metrics_service_client.cc |
+++ b/chrome/browser/metrics/chrome_metrics_service_client.cc |
@@ -32,6 +32,7 @@ |
#include "chrome/common/crash_keys.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/common/render_messages.h" |
+#include "components/metrics/call_stack_profile_metrics_provider.h" |
#include "components/metrics/gpu/gpu_metrics_provider.h" |
#include "components/metrics/metrics_service.h" |
#include "components/metrics/net/net_metrics_log_uploader.h" |
@@ -334,6 +335,10 @@ void ChromeMetricsServiceClient::Initialize() { |
metrics_service_->RegisterMetricsProvider( |
scoped_ptr<metrics::MetricsProvider>(profiler_metrics_provider_)); |
+ metrics_service_->RegisterMetricsProvider( |
+ scoped_ptr<metrics::MetricsProvider>( |
+ new metrics::CallStackProfileMetricsProvider)); |
+ |
#if defined(OS_ANDROID) |
metrics_service_->RegisterMetricsProvider( |
scoped_ptr<metrics::MetricsProvider>( |