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

Unified Diff: content/utility/utility_thread_impl.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
« no previous file with comments | « content/utility/utility_process_control_impl.h ('k') | extensions/browser/mojo/service_registration.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/utility/utility_thread_impl.cc
diff --git a/content/utility/utility_thread_impl.cc b/content/utility/utility_thread_impl.cc
index f719ce8b255a64ea87e1a65318437d522b24c33b..8425e664eb580abf37dd23489e9be26aa8ef3eb5 100644
--- a/content/utility/utility_thread_impl.cc
+++ b/content/utility/utility_thread_impl.cc
@@ -96,10 +96,11 @@ void UtilityThreadImpl::Init() {
GetContentClient()->utility()->UtilityThreadStarted();
process_control_.reset(new UtilityProcessControlImpl);
- interface_registry()->AddInterface(base::Bind(
+ GetInterfaceRegistry()->AddInterface(base::Bind(
&UtilityThreadImpl::BindProcessControlRequest, base::Unretained(this)));
- GetContentClient()->utility()->RegisterMojoInterfaces(interface_registry());
+ GetContentClient()->utility()->ExposeInterfacesToBrowser(
+ GetInterfaceRegistry());
}
bool UtilityThreadImpl::OnControlMessageReceived(const IPC::Message& msg) {
« no previous file with comments | « content/utility/utility_process_control_impl.h ('k') | extensions/browser/mojo/service_registration.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698