summaryrefslogtreecommitdiffstats
path: root/components/proximity_auth/ble/proximity_auth_ble_system.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/proximity_auth/ble/proximity_auth_ble_system.h')
-rw-r--r--components/proximity_auth/ble/proximity_auth_ble_system.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/components/proximity_auth/ble/proximity_auth_ble_system.h b/components/proximity_auth/ble/proximity_auth_ble_system.h
index 34d4b2c..f40c9f2 100644
--- a/components/proximity_auth/ble/proximity_auth_ble_system.h
+++ b/components/proximity_auth/ble/proximity_auth_ble_system.h
@@ -135,8 +135,15 @@ class ProximityAuthBleSystem : public ScreenlockBridge::Observer,
const base::TimeDelta polling_interval_;
+ // True if the remote device sent public key contained in |unlock_keyes_| or
+ // |device_whitelist_|.
bool device_authenticated_;
+ // True if the screen is locked and call to |screenlock_bridge_->Unlock()| was
+ // made, but |OnScreenDidUnlock| was not called yet. This is a guard to avoid
+ // a double |screenlock_bridge_->Unlock()| call.
+ bool unlock_requested_;
+
bool is_polling_screen_state_;
base::WeakPtrFactory<ProximityAuthBleSystem> weak_ptr_factory_;