| 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
| 16 #include "build/build_config.h" |
| 16 #include "chrome/browser/signin/chrome_proximity_auth_client.h" | 17 #include "chrome/browser/signin/chrome_proximity_auth_client.h" |
| 17 #include "chrome/browser/signin/easy_unlock_auth_attempt.h" | 18 #include "chrome/browser/signin/easy_unlock_auth_attempt.h" |
| 18 #include "chrome/browser/signin/easy_unlock_metrics.h" | 19 #include "chrome/browser/signin/easy_unlock_metrics.h" |
| 19 #include "chrome/browser/signin/easy_unlock_screenlock_state_handler.h" | 20 #include "chrome/browser/signin/easy_unlock_screenlock_state_handler.h" |
| 20 #include "components/keyed_service/core/keyed_service.h" | 21 #include "components/keyed_service/core/keyed_service.h" |
| 21 #include "components/proximity_auth/remote_device.h" | 22 #include "components/proximity_auth/remote_device.h" |
| 22 #include "components/proximity_auth/screenlock_state.h" | 23 #include "components/proximity_auth/screenlock_state.h" |
| 23 | 24 |
| 24 #if defined(OS_CHROMEOS) | 25 #if defined(OS_CHROMEOS) |
| 25 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_types.h" | 26 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_types.h" |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 bool tpm_key_checked_; | 374 bool tpm_key_checked_; |
| 374 | 375 |
| 375 base::ObserverList<EasyUnlockServiceObserver> observers_; | 376 base::ObserverList<EasyUnlockServiceObserver> observers_; |
| 376 | 377 |
| 377 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_; | 378 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_; |
| 378 | 379 |
| 379 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService); | 380 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService); |
| 380 }; | 381 }; |
| 381 | 382 |
| 382 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ | 383 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ |
| OLD | NEW |