OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_CHROMEOS_RETAIL_MODE_RETAIL_MODE_SCREEN_LOCKER_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_RETAIL_MODE_RETAIL_MODE_SCREEN_LOCKER_H_ | |
7 #pragma once | |
8 | |
9 #include "base/time.h" | |
10 #include "base/timer.h" | |
11 | |
12 namespace browser { | |
13 | |
14 // Shows or closes the logout dialog for Kiosk Mode. | |
15 void ShowRetailModeLogoutDialog(); | |
16 void CloseRetailModeLogoutDialog(); | |
17 | |
18 } // namespace browser | |
19 | |
20 | |
xiyuan
2012/01/26 19:34:18
nit: one blank line
rkc
2012/01/26 21:36:06
Done.
| |
21 namespace chromeos { | |
22 | |
23 class RetailModeScreenLocker { | |
24 public: | |
25 static void InitClass(); | |
26 | |
27 private: | |
28 RetailModeScreenLocker() {} | |
29 | |
30 base::RepeatingTimer<RetailModeScreenLocker> slow_timer_; | |
31 base::RepeatingTimer<RetailModeScreenLocker> fast_timer_; | |
32 | |
33 DISALLOW_COPY_AND_ASSIGN(RetailModeScreenLocker); | |
34 }; | |
35 | |
36 } // namespace chromeos | |
37 | |
38 #endif // CHROME_BROWSER_CHROMEOS_RETAIL_MODE_RETAIL_MODE_SCREEN_LOCKER_H_ | |
OLD | NEW |