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

Side by Side Diff: chrome/browser/signin/easy_unlock_service_regular.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_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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_service.cc ('k') | chrome/browser/signin/easy_unlock_service_regular.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698