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 #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 Loading... |
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 |
OLD | NEW |