From 76a13298a02a60080c98dd936d3b32def6b2d2bf Mon Sep 17 00:00:00 2001 From: "davemoore@chromium.org" Date: Tue, 27 May 2014 16:04:28 +0000 Subject: Revert 272983 "Change Shell / ShellClient to ServiceProvider" > Change Shell / ShellClient to ServiceProvider > > BUG= > R=darin@chromium.org > > Review URL: https://codereview.chromium.org/298653010 TBR=davemoore@chromium.org Review URL: https://codereview.chromium.org/304593002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272984 0039d316-1c4b-4281-b951-d872f2087c98 --- mojo/dbus/dbus_external_service.cc | 4 ++-- mojo/dbus/dbus_external_service.h | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'mojo/dbus') diff --git a/mojo/dbus/dbus_external_service.cc b/mojo/dbus/dbus_external_service.cc index 3b1fddf..92cd6f3 100644 --- a/mojo/dbus/dbus_external_service.cc +++ b/mojo/dbus/dbus_external_service.cc @@ -15,9 +15,9 @@ #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/cpp/bindings/error_handler.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 { diff --git a/mojo/dbus/dbus_external_service.h b/mojo/dbus/dbus_external_service.h index 54af5e9..ea72222 100644 --- a/mojo/dbus/dbus_external_service.h +++ b/mojo/dbus/dbus_external_service.h @@ -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 @@ class DBusExternalService : public DBusExternalServiceBase { 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(); } private: -- cgit v1.1