OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_POWER_SESSION_STATE_CONTROLLER_DELEGATE_CHROMEOS
_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POWER_SESSION_STATE_CONTROLLER_DELEGATE_CHROMEOS
_H_ |
6 #define CHROME_BROWSER_CHROMEOS_POWER_SESSION_STATE_CONTROLLER_DELEGATE_CHROMEOS
_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POWER_SESSION_STATE_CONTROLLER_DELEGATE_CHROMEOS
_H_ |
7 | 7 |
8 #include "ash/wm/lock_state_controller.h" | 8 #include "ash/wm/lock_state_controller.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 | 11 |
12 namespace chromeos { | 12 namespace chromeos { |
13 | 13 |
14 class SessionStateControllerDelegateChromeos | 14 class SessionStateControllerDelegateChromeos |
15 : public ash::LockStateControllerDelegate { | 15 : public ash::LockStateControllerDelegate { |
16 public: | 16 public: |
17 SessionStateControllerDelegateChromeos() {} | 17 SessionStateControllerDelegateChromeos() {} |
18 virtual ~SessionStateControllerDelegateChromeos() {} | 18 virtual ~SessionStateControllerDelegateChromeos() {} |
19 | 19 |
20 private: | 20 private: |
21 // SessionStateControllerDelegate implementation. | 21 // SessionStateControllerDelegate implementation. |
22 virtual void RequestLockScreen() OVERRIDE; | 22 virtual void RequestLockScreen() override; |
23 virtual void RequestShutdown() OVERRIDE; | 23 virtual void RequestShutdown() override; |
24 | 24 |
25 DISALLOW_COPY_AND_ASSIGN(SessionStateControllerDelegateChromeos); | 25 DISALLOW_COPY_AND_ASSIGN(SessionStateControllerDelegateChromeos); |
26 }; | 26 }; |
27 | 27 |
28 } // namespace chromeos | 28 } // namespace chromeos |
29 | 29 |
30 #endif // CHROME_BROWSER_CHROMEOS_POWER_SESSION_STATE_CONTROLLER_DELEGATE_CHROM
EOS_H_ | 30 #endif // CHROME_BROWSER_CHROMEOS_POWER_SESSION_STATE_CONTROLLER_DELEGATE_CHROM
EOS_H_ |
OLD | NEW |