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

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

Issue 304593002: Revert 272983 "Change Shell / ShellClient to ServiceProvider" (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | « trunk/src/content/child/child_thread.cc ('k') | trunk/src/content/child/mojo/mojo_application.cc » ('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.h
===================================================================
--- trunk/src/content/child/mojo/mojo_application.h (revision 272983)
+++ trunk/src/content/child/mojo/mojo_application.h (working copy)
@@ -7,7 +7,7 @@
#include "ipc/ipc_platform_file.h"
#include "mojo/common/channel_init.h"
-#include "mojo/public/interfaces/service_provider/service_provider.mojom.h"
+#include "mojo/public/interfaces/shell/shell.mojom.h"
namespace IPC {
class Message;
@@ -24,21 +24,19 @@
public:
// The ShellClient pointer must remain valid for the lifetime of the
// MojoApplication instance.
- explicit MojoApplication(mojo::ServiceProvider* service_provider);
+ explicit MojoApplication(mojo::ShellClient* shell_client);
~MojoApplication();
bool OnMessageReceived(const IPC::Message& msg);
- mojo::ServiceProvider* host_service_provider() {
- return host_service_provider_.get();
- }
+ mojo::Shell* shell() { return shell_.get(); }
private:
void OnActivate(const IPC::PlatformFileForTransit& file);
mojo::common::ChannelInit channel_init_;
- mojo::ServiceProviderPtr host_service_provider_;
- mojo::ServiceProvider* service_provider_;
+ mojo::ShellPtr shell_;
+ mojo::ShellClient* shell_client_;
DISALLOW_COPY_AND_ASSIGN(MojoApplication);
};
« no previous file with comments | « trunk/src/content/child/child_thread.cc ('k') | trunk/src/content/child/mojo/mojo_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698