| 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_REGULAR_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_REGULAR_H_ |
| 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_REGULAR_H_ | 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_REGULAR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 // Called after a cryptohome RemoveKey or RefreshKey operation to set the | 83 // Called after a cryptohome RemoveKey or RefreshKey operation to set the |
| 84 // proper hardlock state if the operation is successful. | 84 // proper hardlock state if the operation is successful. |
| 85 void SetHardlockAfterKeyOperation( | 85 void SetHardlockAfterKeyOperation( |
| 86 EasyUnlockScreenlockStateHandler::HardlockState state_on_success, | 86 EasyUnlockScreenlockStateHandler::HardlockState state_on_success, |
| 87 bool success); | 87 bool success); |
| 88 | 88 |
| 89 scoped_ptr<chromeos::ShortLivedUserContext> short_lived_user_context_; | 89 scoped_ptr<chromeos::ShortLivedUserContext> short_lived_user_context_; |
| 90 #endif | 90 #endif |
| 91 | 91 |
| 92 // Updates local state with the preference from the user's profile, so they |
| 93 // can be accessed on the sign-in screen. |
| 94 void SyncProfilePrefsToLocalState(); |
| 95 |
| 92 PrefChangeRegistrar registrar_; | 96 PrefChangeRegistrar registrar_; |
| 93 | 97 |
| 94 TurnOffFlowStatus turn_off_flow_status_; | 98 TurnOffFlowStatus turn_off_flow_status_; |
| 95 scoped_ptr<proximity_auth::CryptAuthClient> cryptauth_client_; | 99 scoped_ptr<proximity_auth::CryptAuthClient> cryptauth_client_; |
| 96 | 100 |
| 97 base::WeakPtrFactory<EasyUnlockServiceRegular> weak_ptr_factory_; | 101 base::WeakPtrFactory<EasyUnlockServiceRegular> weak_ptr_factory_; |
| 98 | 102 |
| 99 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceRegular); | 103 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceRegular); |
| 100 }; | 104 }; |
| 101 | 105 |
| 102 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_REGULAR_H_ | 106 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_REGULAR_H_ |
| OLD | NEW |