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

Unified Diff: mash/screenlock/screenlock.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 | « mash/quick_launch/quick_launch_application.cc ('k') | mash/screenlock/screenlock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/screenlock/screenlock.h
diff --git a/mash/screenlock/screenlock.h b/mash/screenlock/screenlock.h
index 54e88b94a1bf57a9b2d7bf62bbe35c1785c49b0b..423ec316996e4ccde0ad0064fdb69e0610717bb8 100644
--- a/mash/screenlock/screenlock.h
+++ b/mash/screenlock/screenlock.h
@@ -11,7 +11,7 @@
#include "base/macros.h"
#include "mash/session/public/interfaces/session.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"
namespace views {
@@ -22,17 +22,17 @@ class WindowManagerConnection;
namespace mash {
namespace screenlock {
-class Screenlock : public shell::ShellClient,
+class Screenlock : public shell::Service,
public session::mojom::ScreenlockStateListener {
public:
Screenlock();
~Screenlock() override;
private:
- // shell::ShellClient:
- void Initialize(shell::Connector* connector,
- const shell::Identity& identity,
- uint32_t id) override;
+ // shell::Service:
+ void OnStart(shell::Connector* connector,
+ const shell::Identity& identity,
+ uint32_t id) override;
// session::mojom::ScreenlockStateListener:
void ScreenlockStateChanged(bool locked) override;
« no previous file with comments | « mash/quick_launch/quick_launch_application.cc ('k') | mash/screenlock/screenlock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698