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_SIGNIN_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ |
6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ | 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 std::string GetWrappedSecret() const override; | 78 std::string GetWrappedSecret() const override; |
79 void RecordEasySignInOutcome(const std::string& user_id, | 79 void RecordEasySignInOutcome(const std::string& user_id, |
80 bool success) const override; | 80 bool success) const override; |
81 void RecordPasswordLoginEvent(const std::string& user_id) const override; | 81 void RecordPasswordLoginEvent(const std::string& user_id) const override; |
82 void StartAutoPairing(const AutoPairingResultCallback& callback) override; | 82 void StartAutoPairing(const AutoPairingResultCallback& callback) override; |
83 void SetAutoPairingResult(bool success, const std::string& error) override; | 83 void SetAutoPairingResult(bool success, const std::string& error) override; |
84 void InitializeInternal() override; | 84 void InitializeInternal() override; |
85 void ShutdownInternal() override; | 85 void ShutdownInternal() override; |
86 bool IsAllowedInternal() const override; | 86 bool IsAllowedInternal() const override; |
87 void OnWillFinalizeUnlock(bool success) override; | 87 void OnWillFinalizeUnlock(bool success) override; |
88 void OnSuspendDone() override; | 88 void OnSuspendDoneInternal() override; |
89 | 89 |
90 // proximity_auth::ScreenlockBridge::Observer implementation: | 90 // proximity_auth::ScreenlockBridge::Observer implementation: |
91 void OnScreenDidLock(proximity_auth::ScreenlockBridge::LockHandler::ScreenType | 91 void OnScreenDidLock(proximity_auth::ScreenlockBridge::LockHandler::ScreenType |
92 screen_type) override; | 92 screen_type) override; |
93 void OnScreenDidUnlock( | 93 void OnScreenDidUnlock( |
94 proximity_auth::ScreenlockBridge::LockHandler::ScreenType screen_type) | 94 proximity_auth::ScreenlockBridge::LockHandler::ScreenType screen_type) |
95 override; | 95 override; |
96 void OnFocusedUserChanged(const std::string& user_id) override; | 96 void OnFocusedUserChanged(const std::string& user_id) override; |
97 | 97 |
98 // chromeos::LoginState::Observer implementation: | 98 // chromeos::LoginState::Observer implementation: |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 130 |
131 // The timestamp for the most recent time when a user pod was focused. | 131 // The timestamp for the most recent time when a user pod was focused. |
132 base::TimeTicks user_pod_last_focused_timestamp_; | 132 base::TimeTicks user_pod_last_focused_timestamp_; |
133 | 133 |
134 base::WeakPtrFactory<EasyUnlockServiceSignin> weak_ptr_factory_; | 134 base::WeakPtrFactory<EasyUnlockServiceSignin> weak_ptr_factory_; |
135 | 135 |
136 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceSignin); | 136 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceSignin); |
137 }; | 137 }; |
138 | 138 |
139 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ | 139 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ |
OLD | NEW |