| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SIGNIN_EASY_UNLOCK_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ |
| 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ | 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 Profile* profile_; | 108 Profile* profile_; |
| 109 PrefChangeRegistrar registrar_; | 109 PrefChangeRegistrar registrar_; |
| 110 scoped_ptr<BluetoothDetector> bluetooth_detector_; | 110 scoped_ptr<BluetoothDetector> bluetooth_detector_; |
| 111 // Created lazily in |GetScreenlockStateHandler|. | 111 // Created lazily in |GetScreenlockStateHandler|. |
| 112 scoped_ptr<EasyUnlockScreenlockStateHandler> screenlock_state_handler_; | 112 scoped_ptr<EasyUnlockScreenlockStateHandler> screenlock_state_handler_; |
| 113 | 113 |
| 114 TurnOffFlowStatus turn_off_flow_status_; | 114 TurnOffFlowStatus turn_off_flow_status_; |
| 115 scoped_ptr<EasyUnlockToggleFlow> turn_off_flow_; | 115 scoped_ptr<EasyUnlockToggleFlow> turn_off_flow_; |
| 116 ObserverList<EasyUnlockServiceObserver> observers_; | 116 ObserverList<EasyUnlockServiceObserver> observers_; |
| 117 | 117 |
| 118 #if defined(OS_CHROMEOS) |
| 119 // Monitors suspend and wake state of ChromeOS. |
| 120 class PowerMonitor; |
| 121 scoped_ptr<PowerMonitor> power_monitor_; |
| 122 #endif |
| 123 |
| 118 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_; | 124 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_; |
| 119 | 125 |
| 120 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService); | 126 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService); |
| 121 }; | 127 }; |
| 122 | 128 |
| 123 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ | 129 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ |
| OLD | NEW |