Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2099063002: Migrate RenderProcessHost, ChildThread to InterfaceRegistry/Provider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
}
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | chrome/browser/chromeos/arc/gpu_arc_video_service_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698