OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_STATE_H | 5 #ifndef COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_STATE_H |
6 #define COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_STATE_H | 6 #define COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_STATE_H |
7 | 7 |
8 namespace proximity_auth { | 8 namespace proximity_auth { |
9 | 9 |
10 // Possible user states of the proximity auth feature on the lock or sign-in | 10 // Possible user states of the proximity auth feature on the lock or sign-in |
(...skipping 23 matching lines...) Expand all Loading... |
34 // signal strength is too low, i.e. the phone is roughly more than 30 feet | 34 // signal strength is too low, i.e. the phone is roughly more than 30 feet |
35 // away, and therefore is not allowed to unlock the device. | 35 // away, and therefore is not allowed to unlock the device. |
36 RSSI_TOO_LOW, | 36 RSSI_TOO_LOW, |
37 // A phone eligible to unlock the local device is found; but (a) the phone is | 37 // A phone eligible to unlock the local device is found; but (a) the phone is |
38 // locked, and (b) the local device's transmission power is too high, | 38 // locked, and (b) the local device's transmission power is too high, |
39 // indicating that the phone is (probably) more than 1 foot away, and | 39 // indicating that the phone is (probably) more than 1 foot away, and |
40 // therefore is not allowed to unlock the device. | 40 // therefore is not allowed to unlock the device. |
41 PHONE_LOCKED_AND_RSSI_TOO_LOW, | 41 PHONE_LOCKED_AND_RSSI_TOO_LOW, |
42 // The local device can be unlocked using proximity-based authentication. | 42 // The local device can be unlocked using proximity-based authentication. |
43 AUTHENTICATED, | 43 AUTHENTICATED, |
| 44 // The user must reauthenticate using their password because a sufficient time |
| 45 // has elapsed since their last password entry. |
| 46 PASSWORD_REAUTH, |
44 }; | 47 }; |
45 | 48 |
46 } // namespace proximity_auth | 49 } // namespace proximity_auth |
47 | 50 |
48 #endif // COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_STATE_H | 51 #endif // COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_STATE_H |
OLD | NEW |