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

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

Issue 668213003: Reauthenticate the user before launching Smart Lock setup app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change dcheck to log Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/signin/easy_unlock_service.h
diff --git a/chrome/browser/signin/easy_unlock_service.h b/chrome/browser/signin/easy_unlock_service.h
index 1f256a1691eee1e47eb5007dc61a436a5a56debb..ade435b5bea456df75ad9a3701f28610fda6d4eb 100644
--- a/chrome/browser/signin/easy_unlock_service.h
+++ b/chrome/browser/signin/easy_unlock_service.h
@@ -215,6 +215,12 @@ class EasyUnlockService : public KeyedService {
return screenlock_state_handler_.get();
}
+ // Saves hardlock state for the given user. Update UI if the currently
+ // associated user is the same.
+ void SetHardlockStateForUser(
+ const std::string& user_id,
+ EasyUnlockScreenlockStateHandler::HardlockState state);
+
private:
// A class to detect whether a bluetooth adapter is present.
class BluetoothDetector;
@@ -231,12 +237,6 @@ class EasyUnlockService : public KeyedService {
// Callback when Bluetooth adapter present state changes.
void OnBluetoothAdapterPresentChanged();
- // Saves hardlock state for the given user. Update UI if the currently
- // associated user is the same.
- void SetHardlockStateForUser(
- const std::string& user_id,
- EasyUnlockScreenlockStateHandler::HardlockState state);
-
#if defined(OS_CHROMEOS)
// Callback for get key operation from CheckCryptohomeKeysAndMaybeHardlock.
void OnCryptohomeKeysFetchedForChecking(

Powered by Google App Engine
This is Rietveld 408576698