diff options
author | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-27 15:51:00 +0000 |
---|---|---|
committer | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-27 15:51:00 +0000 |
commit | 922f25039d939159501fad266518290b2c05fe2a (patch) | |
tree | 82f23eaa36a8d86f86d86b7f8aa85c487629057d /content/child/mojo/mojo_application.h | |
parent | bcbdd98cc4d033b29fa633cbc1c81599ba6d9977 (diff) | |
download | chromium_src-922f25039d939159501fad266518290b2c05fe2a.zip chromium_src-922f25039d939159501fad266518290b2c05fe2a.tar.gz chromium_src-922f25039d939159501fad266518290b2c05fe2a.tar.bz2 |
Change Shell / ShellClient to ServiceProvider
BUG=
R=darin@chromium.org
Review URL: https://codereview.chromium.org/298653010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/child/mojo/mojo_application.h')
-rw-r--r-- | content/child/mojo/mojo_application.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/content/child/mojo/mojo_application.h b/content/child/mojo/mojo_application.h index 88646b6..ef05f75 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); }; |