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; |