| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 void RunTurnOffFlow() override; | 52 void RunTurnOffFlow() override; |
| 53 void ResetTurnOffFlow() override; | 53 void ResetTurnOffFlow() override; |
| 54 TurnOffFlowStatus GetTurnOffFlowStatus() const override; | 54 TurnOffFlowStatus GetTurnOffFlowStatus() const override; |
| 55 std::string GetChallenge() const override; | 55 std::string GetChallenge() const override; |
| 56 std::string GetWrappedSecret() const override; | 56 std::string GetWrappedSecret() const override; |
| 57 void RecordEasySignInOutcome(const std::string& user_id, | 57 void RecordEasySignInOutcome(const std::string& user_id, |
| 58 bool success) const override; | 58 bool success) const override; |
| 59 void RecordPasswordLoginEvent(const std::string& user_id) const override; | 59 void RecordPasswordLoginEvent(const std::string& user_id) const override; |
| 60 void InitializeInternal() override; | 60 void InitializeInternal() override; |
| 61 void ShutdownInternal() override; | 61 void ShutdownInternal() override; |
| 62 bool IsAllowedInternal() override; | 62 bool IsAllowedInternal() const override; |
| 63 | 63 |
| 64 // Opens the component packaged app responsible for setting up Smart Lock. | 64 // Opens the component packaged app responsible for setting up Smart Lock. |
| 65 void OpenSetupApp(); | 65 void OpenSetupApp(); |
| 66 | 66 |
| 67 // Callback when the controlling pref changes. | 67 // Callback when the controlling pref changes. |
| 68 void OnPrefsChanged(); | 68 void OnPrefsChanged(); |
| 69 | 69 |
| 70 // Sets the new turn-off flow status. | 70 // Sets the new turn-off flow status. |
| 71 void SetTurnOffFlowStatus(TurnOffFlowStatus status); | 71 void SetTurnOffFlowStatus(TurnOffFlowStatus status); |
| 72 | 72 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 97 | 97 |
| 98 TurnOffFlowStatus turn_off_flow_status_; | 98 TurnOffFlowStatus turn_off_flow_status_; |
| 99 scoped_ptr<proximity_auth::CryptAuthClient> cryptauth_client_; | 99 scoped_ptr<proximity_auth::CryptAuthClient> cryptauth_client_; |
| 100 | 100 |
| 101 base::WeakPtrFactory<EasyUnlockServiceRegular> weak_ptr_factory_; | 101 base::WeakPtrFactory<EasyUnlockServiceRegular> weak_ptr_factory_; |
| 102 | 102 |
| 103 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceRegular); | 103 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceRegular); |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_REGULAR_H_ | 106 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_REGULAR_H_ |
| OLD | NEW |