OLD | NEW |
(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_ |
OLD | NEW |