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

Unified Diff: ash/sysui/sysui_application.h

Issue 2118083002: ShellClient -> Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus2
Patch Set: . Created 4 years, 5 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 | « ash/mus/window_manager_application.cc ('k') | ash/sysui/sysui_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/sysui/sysui_application.h
diff --git a/ash/sysui/sysui_application.h b/ash/sysui/sysui_application.h
index b9cebfc2bff73824c127e350bb8704e124df4214..96ee7e7046103622952dd925579920715a813e0a 100644
--- a/ash/sysui/sysui_application.h
+++ b/ash/sysui/sysui_application.h
@@ -11,7 +11,7 @@
#include "base/macros.h"
#include "mash/shelf/public/interfaces/shelf.mojom.h"
#include "mojo/public/cpp/bindings/binding_set.h"
-#include "services/shell/public/cpp/shell_client.h"
+#include "services/shell/public/cpp/service.h"
#include "services/tracing/public/cpp/tracing_impl.h"
#include "services/ui/public/cpp/input_devices/input_device_client.h"
@@ -21,7 +21,7 @@ namespace sysui {
class AshInit;
class SysUIApplication
- : public shell::ShellClient,
+ : public shell::Service,
public shell::InterfaceFactory<mash::shelf::mojom::ShelfController>,
public shell::InterfaceFactory<mojom::WallpaperController> {
public:
@@ -29,11 +29,11 @@ class SysUIApplication
~SysUIApplication() override;
private:
- // shell::ShellClient:
- void Initialize(::shell::Connector* connector,
- const ::shell::Identity& identity,
- uint32_t id) override;
- bool AcceptConnection(shell::Connection* connection) override;
+ // shell::Service:
+ void OnStart(::shell::Connector* connector,
+ const ::shell::Identity& identity,
+ uint32_t id) override;
+ bool OnConnect(shell::Connection* connection) override;
// InterfaceFactory<mash::shelf::mojom::ShelfController>:
void Create(shell::Connection* connection,
« no previous file with comments | « ash/mus/window_manager_application.cc ('k') | ash/sysui/sysui_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698