Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index f46641d88a44f87ee847adae7f80255eba661e2e..75779f3795be3fd27759cde1306b641a3f72296f 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -320,6 +320,10 @@ |
#include "media/mojo/services/mojo_media_application_factory.h" // nogncheck |
#endif |
+#if defined(OS_CHROMEOS) |
+#include "chrome/browser/metrics/leak_detector/leak_detector_remote_controller.h" |
+#endif |
+ |
using base::FileDescriptor; |
using blink::WebWindowFeatures; |
using content::AccessTokenStore; |
@@ -2728,6 +2732,11 @@ void ChromeContentBrowserClient::RegisterRenderProcessMojoServices( |
content::RenderProcessHost* render_process_host) { |
registry->AddService( |
base::Bind(&startup_metric_utils::StartupMetricHostImpl::Create)); |
+ |
+#if defined(OS_CHROMEOS) |
+ registry->AddService<metrics::LeakDetectorRemote>( |
+ base::Bind(&metrics::LeakDetectorRemoteController::Create)); |
+#endif |
} |
void ChromeContentBrowserClient::RegisterFrameMojoShellServices( |