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

Unified Diff: content/public/browser/utility_process_mojo_client.h

Issue 2096643002: Eliminate MojoApplicationHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mah3
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/public/browser/utility_process_host.h ('k') | content/public/child/child_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/utility_process_mojo_client.h
diff --git a/content/public/browser/utility_process_mojo_client.h b/content/public/browser/utility_process_mojo_client.h
index 5de3ff7a91bf158e0d61ee80037c4fbc20a23a46..09bbab14098422bfa15ea25a278d81758dce7835 100644
--- a/content/public/browser/utility_process_mojo_client.h
+++ b/content/public/browser/utility_process_mojo_client.h
@@ -17,6 +17,7 @@
#include "content/public/browser/utility_process_host_client.h"
#include "content/public/common/service_registry.h"
#include "mojo/public/cpp/bindings/interface_ptr.h"
+#include "services/shell/public/cpp/interface_provider.h"
namespace content {
@@ -107,10 +108,8 @@ class UtilityProcessMojoClient {
utility_host_->DisableSandbox();
utility_host_->Start();
-
- ServiceRegistry* service_registry = utility_host_->GetServiceRegistry();
- service_registry->ConnectToRemoteService(mojo_interface_name,
- std::move(interface_pipe));
+ utility_host_->GetRemoteInterfaces()->GetInterface(
+ mojo_interface_name, std::move(interface_pipe));
}
// Properties of the utility process.
« no previous file with comments | « content/public/browser/utility_process_host.h ('k') | content/public/child/child_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698