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

Side by Side Diff: chrome/browser/chromeos/retail_mode/retail_mode_screen_locker.h

Issue 9265026: Implement restart on Idle for Kiosk Mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments. Created 8 years, 10 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 | Annotate | Revision Log
OLDNEW
(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 namespace chromeos {
21
22 class RetailModeScreenLocker {
23 public:
24 static void InitClass();
25
26 private:
27 RetailModeScreenLocker() {}
28
29 base::RepeatingTimer<RetailModeScreenLocker> slow_timer_;
30 base::RepeatingTimer<RetailModeScreenLocker> fast_timer_;
31
32 DISALLOW_COPY_AND_ASSIGN(RetailModeScreenLocker);
33 };
34
35 } // namespace chromeos
36
37 #endif // CHROME_BROWSER_CHROMEOS_RETAIL_MODE_RETAIL_MODE_SCREEN_LOCKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698