Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: chrome/browser/signin/easy_unlock_service_signin_chromeos.h

Issue 889153004: [Cleanup] Clean up Easy Unlock code a bit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and remove TODOs Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 void RunTurnOffFlow() override; 67 void RunTurnOffFlow() override;
68 void ResetTurnOffFlow() override; 68 void ResetTurnOffFlow() override;
69 TurnOffFlowStatus GetTurnOffFlowStatus() const override; 69 TurnOffFlowStatus GetTurnOffFlowStatus() const override;
70 std::string GetChallenge() const override; 70 std::string GetChallenge() const override;
71 std::string GetWrappedSecret() const override; 71 std::string GetWrappedSecret() const override;
72 void RecordEasySignInOutcome(const std::string& user_id, 72 void RecordEasySignInOutcome(const std::string& user_id,
73 bool success) const override; 73 bool success) const override;
74 void RecordPasswordLoginEvent(const std::string& user_id) const override; 74 void RecordPasswordLoginEvent(const std::string& user_id) const override;
75 void InitializeInternal() override; 75 void InitializeInternal() override;
76 void ShutdownInternal() override; 76 void ShutdownInternal() override;
77 bool IsAllowedInternal() override; 77 bool IsAllowedInternal() const override;
78 78
79 // ScreenlockBridge::Observer implementation: 79 // ScreenlockBridge::Observer implementation:
80 void OnScreenDidLock() override; 80 void OnScreenDidLock() override;
81 void OnScreenDidUnlock() override; 81 void OnScreenDidUnlock() override;
82 void OnFocusedUserChanged(const std::string& user_id) override; 82 void OnFocusedUserChanged(const std::string& user_id) override;
83 83
84 // chromeos::LoginState::Observer implementation: 84 // chromeos::LoginState::Observer implementation:
85 void LoggedInStateChanged() override; 85 void LoggedInStateChanged() override;
86 86
87 // Loads the device data associated with the user's Easy unlock keys from 87 // Loads the device data associated with the user's Easy unlock keys from
(...skipping 25 matching lines...) Expand all
113 // Whether the service has been successfully initialized, and has not been 113 // Whether the service has been successfully initialized, and has not been
114 // shut down. 114 // shut down.
115 bool service_active_; 115 bool service_active_;
116 116
117 base::WeakPtrFactory<EasyUnlockServiceSignin> weak_ptr_factory_; 117 base::WeakPtrFactory<EasyUnlockServiceSignin> weak_ptr_factory_;
118 118
119 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceSignin); 119 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceSignin);
120 }; 120 };
121 121
122 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ 122 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_regular.cc ('k') | chrome/browser/signin/easy_unlock_service_signin_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698