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

Unified Diff: trunk/src/content/child/mojo/mojo_application.cc

Issue 352013002: Revert 279557 "Support exposing Mojo services between render fra..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | « trunk/src/content/child/mojo/mojo_application.h ('k') | trunk/src/content/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/content/child/mojo/mojo_application.cc
===================================================================
--- trunk/src/content/child/mojo/mojo_application.cc (revision 279559)
+++ trunk/src/content/child/mojo/mojo_application.cc (working copy)
@@ -10,7 +10,8 @@
namespace content {
-MojoApplication::MojoApplication() {
+MojoApplication::MojoApplication(mojo::ServiceProvider* service_provider)
+ : service_provider_(service_provider) {
}
MojoApplication::~MojoApplication() {
@@ -36,7 +37,9 @@
channel_init_.Init(handle,
ChildProcess::current()->io_message_loop_proxy());
DCHECK(message_pipe.is_valid());
- service_registry_.BindRemoteServiceProvider(message_pipe.Pass());
+
+ host_service_provider_.Bind(message_pipe.Pass());
+ host_service_provider_.set_client(service_provider_);
}
} // namespace content
« no previous file with comments | « trunk/src/content/child/mojo/mojo_application.h ('k') | trunk/src/content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698