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

Unified Diff: content/utility/utility_thread_impl.cc

Issue 2079943002: Change RenderFrame to use InterfaceRegistry et al. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a2
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/shell/utility/shell_content_utility_client.cc ('k') | extensions/browser/DEPS » ('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 066ccf8c233aa5bdc39e6e90efdbf870e9d97d65..f719ce8b255a64ea87e1a65318437d522b24c33b 100644
--- a/content/utility/utility_thread_impl.cc
+++ b/content/utility/utility_thread_impl.cc
@@ -18,6 +18,7 @@
#include "content/utility/utility_blink_platform_impl.h"
#include "content/utility/utility_process_control_impl.h"
#include "ipc/ipc_sync_channel.h"
+#include "services/shell/public/cpp/interface_registry.h"
#include "third_party/WebKit/public/web/WebKit.h"
#if defined(OS_POSIX) && defined(ENABLE_PLUGINS)
@@ -95,10 +96,10 @@ void UtilityThreadImpl::Init() {
GetContentClient()->utility()->UtilityThreadStarted();
process_control_.reset(new UtilityProcessControlImpl);
- service_registry()->AddService(base::Bind(
+ interface_registry()->AddInterface(base::Bind(
&UtilityThreadImpl::BindProcessControlRequest, base::Unretained(this)));
- GetContentClient()->utility()->RegisterMojoServices(service_registry());
+ GetContentClient()->utility()->RegisterMojoInterfaces(interface_registry());
}
bool UtilityThreadImpl::OnControlMessageReceived(const IPC::Message& msg) {
« no previous file with comments | « content/shell/utility/shell_content_utility_client.cc ('k') | extensions/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698