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

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: Renamed kiosk->retail and incorporated review comments. Created 8 years, 11 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698