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 672c60fc5b862d1be951c55bf76b6cdf8f92c7b3..cce6055d14114802396ae3cbd025d6e14eba2cb0 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -159,7 +159,6 @@ |
#include "content/public/common/content_features.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/common/sandbox_type.h" |
-#include "content/public/common/service_registry.h" |
#include "content/public/common/url_utils.h" |
#include "content/public/common/web_preferences.h" |
#include "device/usb/public/interfaces/chooser_service.mojom.h" |
@@ -2728,10 +2727,10 @@ bool ChromeContentBrowserClient::IsWin32kLockdownEnabledForMimeType( |
} |
#endif // defined(OS_WIN) |
-void ChromeContentBrowserClient::RegisterRenderProcessMojoServices( |
- content::ServiceRegistry* registry, |
+void ChromeContentBrowserClient::ExposeInterfacesToRenderer( |
+ shell::InterfaceRegistry* registry, |
content::RenderProcessHost* render_process_host) { |
- registry->AddService( |
+ registry->AddInterface( |
base::Bind(&startup_metric_utils::StartupMetricHostImpl::Create)); |
} |