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

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

Issue 298003008: Shell / ShellClient -> ServiceProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/child/mojo/mojo_application.h ('k') | content/content_app.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/mojo/mojo_application.cc
diff --git a/content/child/mojo/mojo_application.cc b/content/child/mojo/mojo_application.cc
index b3d4935aa1861af8a39e997081e343a5cee3b381..79eea23846c1cb40b132725394857f8b7cb1042d 100644
--- a/content/child/mojo/mojo_application.cc
+++ b/content/child/mojo/mojo_application.cc
@@ -10,8 +10,8 @@
namespace content {
-MojoApplication::MojoApplication(mojo::ShellClient* shell_client)
- : shell_client_(shell_client) {
+MojoApplication::MojoApplication(mojo::ServiceProvider* service_provider)
+ : service_provider_(service_provider) {
}
MojoApplication::~MojoApplication() {
@@ -38,8 +38,8 @@ void MojoApplication::OnActivate(
ChildProcess::current()->io_message_loop_proxy());
DCHECK(message_pipe.is_valid());
- shell_.Bind(message_pipe.Pass());
- shell_.set_client(shell_client_);
+ host_service_provider_.Bind(message_pipe.Pass());
+ host_service_provider_.set_client(service_provider_);
}
} // namespace content
« no previous file with comments | « content/child/mojo/mojo_application.h ('k') | content/content_app.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698