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

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

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/child_thread.cc ('k') | content/child/mojo/mojo_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/mojo/mojo_application.h
diff --git a/content/child/mojo/mojo_application.h b/content/child/mojo/mojo_application.h
index 88646b63ff4545e522c2c3b4d594be8262200db0..ef05f75fb768e66bc58138570e8506ed8a83c925 100644
--- a/content/child/mojo/mojo_application.h
+++ b/content/child/mojo/mojo_application.h
@@ -7,7 +7,7 @@
#include "ipc/ipc_platform_file.h"
#include "mojo/common/channel_init.h"
-#include "mojo/public/interfaces/shell/shell.mojom.h"
+#include "mojo/public/interfaces/service_provider/service_provider.mojom.h"
namespace IPC {
class Message;
@@ -24,19 +24,21 @@ class MojoApplication {
public:
// The ShellClient pointer must remain valid for the lifetime of the
// MojoApplication instance.
- explicit MojoApplication(mojo::ShellClient* shell_client);
+ explicit MojoApplication(mojo::ServiceProvider* service_provider);
~MojoApplication();
bool OnMessageReceived(const IPC::Message& msg);
- mojo::Shell* shell() { return shell_.get(); }
+ mojo::ServiceProvider* host_service_provider() {
+ return host_service_provider_.get();
+ }
private:
void OnActivate(const IPC::PlatformFileForTransit& file);
mojo::common::ChannelInit channel_init_;
- mojo::ShellPtr shell_;
- mojo::ShellClient* shell_client_;
+ mojo::ServiceProviderPtr host_service_provider_;
+ mojo::ServiceProvider* service_provider_;
DISALLOW_COPY_AND_ASSIGN(MojoApplication);
};
« no previous file with comments | « content/child/child_thread.cc ('k') | content/child/mojo/mojo_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698