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

Side by Side Diff: chrome/browser/chromeos/kiosk_mode/kiosk_mode_helper.cc

Issue 9665031: Change the idle logout dialog over to use views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: yacf. Created 8 years, 9 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
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 #include "chrome/browser/chromeos/kiosk_mode/kiosk_mode_helper.h" 5 #include "chrome/browser/chromeos/kiosk_mode/kiosk_mode_helper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 return kLoginIdleTimeout; 73 return kLoginIdleTimeout;
74 } 74 }
75 int64 KioskModeHelper::GetIdleLogoutWarningTimeout() const { 75 int64 KioskModeHelper::GetIdleLogoutWarningTimeout() const {
76 if (!is_initialized_) 76 if (!is_initialized_)
77 return -1; 77 return -1;
78 78
79 return kLoginIdleCountdownTimeout; 79 return kLoginIdleCountdownTimeout;
80 } 80 }
81 81
82
83 KioskModeHelper::KioskModeHelper() : is_initialized_(false) { 82 KioskModeHelper::KioskModeHelper() : is_initialized_(false) {
84 } 83 }
85 84
86 } // namespace chromeos 85 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/kiosk_mode/kiosk_mode_helper.h ('k') | chrome/browser/chromeos/kiosk_mode/kiosk_mode_idle_logout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698