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

Unified Diff: chrome/browser/signin/easy_unlock_screenlock_state_handler.cc

Issue 644873002: Easy Unlock Show connecting user pod icon when waking up from sleep (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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_screenlock_state_handler.cc
diff --git a/chrome/browser/signin/easy_unlock_screenlock_state_handler.cc b/chrome/browser/signin/easy_unlock_screenlock_state_handler.cc
index 39be6848eba0fd3186103cd076145d7658b38f4d..0b5226fd19c254004df9b7cea860d752f110a13c 100644
--- a/chrome/browser/signin/easy_unlock_screenlock_state_handler.cc
+++ b/chrome/browser/signin/easy_unlock_screenlock_state_handler.cc
@@ -95,6 +95,10 @@ EasyUnlockScreenlockStateHandler::~EasyUnlockScreenlockStateHandler() {
ChangeState(STATE_INACTIVE);
}
+bool EasyUnlockScreenlockStateHandler::IsActive() const {
+ return state_ != STATE_INACTIVE;
+}
+
void EasyUnlockScreenlockStateHandler::ChangeState(State new_state) {
if (state_ == new_state)
return;

Powered by Google App Engine
This is Rietveld 408576698