Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 5f240939bd6b287f24c74995c3fe69e609443e94..bd14d4d55a22e3a5f4ac4c4fbb455f1feaa0ac6d 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -53,6 +53,7 @@ |
#include "cc/base/switches.h" |
#include "cc/output/buffer_to_texture_target_map.h" |
#include "components/discardable_memory/service/discardable_shared_memory_manager.h" |
+#include "components/metrics/single_sample_metrics_provider.h" |
#include "components/tracing/common/tracing_switches.h" |
#include "content/browser/appcache/appcache_dispatcher_host.h" |
#include "content/browser/appcache/chrome_appcache_service.h" |
@@ -1325,6 +1326,9 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() { |
base::Bind(&VideoCaptureHost::Create, |
BrowserMainLoop::GetInstance()->media_stream_manager())); |
+ registry->AddInterface( |
+ base::Bind(&metrics::SingleSampleMetricsProvider::Create)); |
+ |
if (base::FeatureList::IsEnabled(features::kOffMainThreadFetch)) { |
scoped_refptr<ServiceWorkerContextWrapper> service_worker_context( |
static_cast<ServiceWorkerContextWrapper*>( |