Index: mandoline/services/updater/updater_app.h |
diff --git a/mandoline/services/updater/updater_app.h b/mandoline/services/updater/updater_app.h |
index 818efb94481d8b87fd94bab0b23aeb837050ee48..134d1eab1fd14feb1d6820e31c4add82729283e6 100644 |
--- a/mandoline/services/updater/updater_app.h |
+++ b/mandoline/services/updater/updater_app.h |
@@ -6,11 +6,11 @@ |
#define MANDOLINE_SERVICES_UPDATER_UPDATER_APP_H_ |
#include "base/macros.h" |
-#include "mojo/shell/public/cpp/application_delegate.h" |
#include "mojo/shell/public/cpp/interface_factory.h" |
+#include "mojo/shell/public/cpp/shell_client.h" |
namespace mojo { |
-class ApplicationConnection; |
+class Connection; |
class Shell; |
} // namespace mojo |
@@ -18,20 +18,19 @@ namespace updater { |
class Updater; |
-class UpdaterApp : public mojo::ApplicationDelegate, |
+class UpdaterApp : public mojo::ShellClient, |
public mojo::InterfaceFactory<Updater> { |
public: |
UpdaterApp(); |
~UpdaterApp() override; |
- // mojo::ApplicationDelegate: |
+ // mojo::ShellClient: |
void Initialize(mojo::Shell* shell, const std::string& url, |
uint32_t id) override; |
- bool AcceptConnection( |
- mojo::ApplicationConnection* connection) override; |
+ bool AcceptConnection(mojo::Connection* connection) override; |
// InterfaceFactory<Updater> implementation. |
- void Create(mojo::ApplicationConnection* connection, |
+ void Create(mojo::Connection* connection, |
mojo::InterfaceRequest<Updater> request) override; |
private: |