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

Side by Side Diff: ash/shell/example_session_controller_client.h

Issue 2734933004: ash: Use SessionController instead of SessionStateDelegate (Closed)
Patch Set: rebase Created 3 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ASH_SHELL_EXAMPLE_SESSION_CONTROLLER_CLIENT_H_
6 #define ASH_SHELL_EXAMPLE_SESSION_CONTROLLER_CLIENT_H_
7
8 #include "ash/common/test/test_session_controller_client.h"
9 #include "base/macros.h"
10
11 namespace ash {
12
13 class SessionController;
14
15 namespace shell {
16
17 class ExampleSessionControllerClient
18 : public test::TestSessionControllerClient {
19 public:
20 explicit ExampleSessionControllerClient(SessionController* controller);
21 ~ExampleSessionControllerClient() override;
22
23 static ExampleSessionControllerClient* Get();
24
25 void Initialize();
26
27 // TestSessionControllerClient
28 void RequestLockScreen() override;
29 void UnlockScreen() override;
30
31 private:
32 DISALLOW_COPY_AND_ASSIGN(ExampleSessionControllerClient);
33 };
34
35 } // namespace shell
36 } // namespace ash
37
38 #endif // ASH_SHELL_EXAMPLE_SESSION_CONTROLLER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698