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

Unified Diff: chrome/browser/signin/easy_unlock_service_regular.h

Issue 808563004: Clean up Smart Lock cryptohome keys logic: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/signin/easy_unlock_service_regular.h
diff --git a/chrome/browser/signin/easy_unlock_service_regular.h b/chrome/browser/signin/easy_unlock_service_regular.h
index 3a48585bdc918d383b91f8ee1700277e707fe343..f485e9fd29116c98460989e512ed80d23d57ea38 100644
--- a/chrome/browser/signin/easy_unlock_service_regular.h
+++ b/chrome/browser/signin/easy_unlock_service_regular.h
@@ -41,7 +41,6 @@ class EasyUnlockServiceRegular : public EasyUnlockService {
void ClearPermitAccess() override;
const base::ListValue* GetRemoteDevices() const override;
void SetRemoteDevices(const base::ListValue& devices) override;
- void ClearRemoteDevices() override;
void RunTurnOffFlow() override;
void ResetTurnOffFlow() override;
TurnOffFlowStatus GetTurnOffFlowStatus() const override;
@@ -67,8 +66,15 @@ class EasyUnlockServiceRegular : public EasyUnlockService {
void OnTurnOffFlowFinished(bool success);
#if defined(OS_CHROMEOS)
+ // Called with the user's credentials (eg: username and password) after the
+ // user reauthenticates to begin setup.
void OnUserContextFromReauth(const chromeos::UserContext& user_context);
- void OnKeysRefreshedForSetDevices(bool success);
+
+ // Called after a cryptohome RemoveKey or RefreshKey operation to set the
+ // proper hardlock state if the operation is successful.
+ void SetHardlockAfterKeyOperation(
+ EasyUnlockScreenlockStateHandler::HardlockState state_on_success,
+ bool success);
scoped_ptr<chromeos::ShortLivedUserContext> short_lived_user_context_;
#endif

Powered by Google App Engine
This is Rietveld 408576698