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 #ifndef CHROME_BROWSER_CHROMEOS_KIOSK_MODE_MOCK_KIOSK_MODE_SETTINGS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_KIOSK_MODE_MOCK_KIOSK_MODE_SETTINGS_H_ |
6 #define CHROME_BROWSER_CHROMEOS_KIOSK_MODE_MOCK_KIOSK_MODE_SETTINGS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_KIOSK_MODE_MOCK_KIOSK_MODE_SETTINGS_H_ |
7 | 7 |
8 #include "chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h" | 8 #include "chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h" |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/time.h" | 15 #include "base/time/time.h" |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 template <typename T> struct DefaultLazyInstanceTraits; | 18 template <typename T> struct DefaultLazyInstanceTraits; |
19 } | 19 } |
20 | 20 |
21 namespace { | 21 namespace { |
22 | 22 |
23 const int kMockIdleLogoutTimeoutMs = 50000; | 23 const int kMockIdleLogoutTimeoutMs = 50000; |
24 const int kMockIdleLogoutWarningDurationMs = 1000; | 24 const int kMockIdleLogoutWarningDurationMs = 1000; |
25 | 25 |
(...skipping 24 matching lines...) Expand all Loading... |
50 friend struct base::DefaultLazyInstanceTraits<MockKioskModeSettings>; | 50 friend struct base::DefaultLazyInstanceTraits<MockKioskModeSettings>; |
51 | 51 |
52 bool is_initialized_; | 52 bool is_initialized_; |
53 | 53 |
54 DISALLOW_COPY_AND_ASSIGN(MockKioskModeSettings); | 54 DISALLOW_COPY_AND_ASSIGN(MockKioskModeSettings); |
55 }; | 55 }; |
56 | 56 |
57 } // namespace chromeos | 57 } // namespace chromeos |
58 | 58 |
59 #endif // CHROME_BROWSER_CHROMEOS_KIOSK_MODE_MOCK_KIOSK_MODE_SETTINGS_H_ | 59 #endif // CHROME_BROWSER_CHROMEOS_KIOSK_MODE_MOCK_KIOSK_MODE_SETTINGS_H_ |
OLD | NEW |