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

Unified Diff: trunk/src/mojo/dbus/dbus_external_service.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/mojo/apps/js/main.js ('k') | trunk/src/mojo/dbus/dbus_external_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/mojo/dbus/dbus_external_service.h
===================================================================
--- trunk/src/mojo/dbus/dbus_external_service.h (revision 272983)
+++ trunk/src/mojo/dbus/dbus_external_service.h (working copy)
@@ -8,8 +8,8 @@
#include "dbus/message.h"
#include "dbus/object_path.h"
#include "mojo/common/channel_init.h"
-#include "mojo/public/cpp/application/application.h"
-#include "mojo/public/interfaces/service_provider/service_provider.mojom.h"
+#include "mojo/public/cpp/shell/application.h"
+#include "mojo/public/interfaces/shell/shell.mojom.h"
#include "mojo/shell/external_service.mojom.h"
namespace mojo {
@@ -72,9 +72,8 @@
virtual void OnConnectionError() OVERRIDE {
service_->Disconnect();
}
- virtual void Activate(ScopedMessagePipeHandle service_provider_handle)
- OVERRIDE {
- app_.reset(new Application(service_provider_handle.Pass()));
+ virtual void Activate(ScopedMessagePipeHandle shell_handle) OVERRIDE {
+ app_.reset(new Application(shell_handle.Pass()));
app_->AddService<ServiceImpl>();
}
private:
« no previous file with comments | « trunk/src/mojo/apps/js/main.js ('k') | trunk/src/mojo/dbus/dbus_external_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698