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

Unified Diff: mandoline/services/updater/updater_app.h

Issue 1675083002: Rename ApplicationDelegate to ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
Patch Set: . Created 4 years, 10 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
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:
« no previous file with comments | « mandoline/services/core_services/core_services_application_delegate.cc ('k') | mandoline/services/updater/updater_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698