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

Side by Side Diff: components/proximity_auth/screenlock_state.h

Issue 2899593002: [EasyUnlock] Put entire ChromeOS login flow behind a flag. (Closed)
Patch Set: [EasyUnlock] Put entire ChromeOS login flow behind a flag. Created 3 years, 7 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 unified diff | Download patch
OLDNEW
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
11 // screen. 11 // screen.
12 enum class ScreenlockState { 12 enum class ScreenlockState {
13 // Proximity-based authentication is not enabled, or the screen is not 13 // Proximity-based authentication is not enabled, or the screen is not
14 // locked. 14 // locked.
15 INACTIVE, 15 INACTIVE,
16 // Bluetooth is not on. 16 // Bluetooth is not on.
17 NO_BLUETOOTH, 17 NO_BLUETOOTH,
18 // The local device is in process of turning on Bluetooth. 18 // The local device is in process of connecting to the remote device.
19 BLUETOOTH_CONNECTING, 19 BLUETOOTH_CONNECTING,
20 // No phones eligible to unlock the local device can be found. 20 // No phones eligible to unlock the local device can be found.
21 NO_PHONE, 21 NO_PHONE,
22 // A phone eligible to unlock the local device is found, but cannot be 22 // A phone eligible to unlock the local device is found, but cannot be
23 // authenticated. 23 // authenticated.
24 PHONE_NOT_AUTHENTICATED, 24 PHONE_NOT_AUTHENTICATED,
25 // A phone eligible to unlock the local device is found, but it's locked. 25 // A phone eligible to unlock the local device is found, but it's locked.
26 PHONE_LOCKED, 26 PHONE_LOCKED,
27 // A phone eligible to unlock the local device is found, but it does not have 27 // A phone eligible to unlock the local device is found, but it does not have
28 // a lock screen enabled. 28 // a lock screen enabled.
(...skipping 15 matching lines...) Expand all
44 // indicating that the phone is (probably) more than 1 foot away, and 44 // indicating that the phone is (probably) more than 1 foot away, and
45 // therefore is not allowed to unlock the device. 45 // therefore is not allowed to unlock the device.
46 PHONE_LOCKED_AND_TX_POWER_TOO_HIGH, 46 PHONE_LOCKED_AND_TX_POWER_TOO_HIGH,
47 // The local device can be unlocked using proximity-based authentication. 47 // The local device can be unlocked using proximity-based authentication.
48 AUTHENTICATED, 48 AUTHENTICATED,
49 }; 49 };
50 50
51 } // namespace proximity_auth 51 } // namespace proximity_auth
52 52
53 #endif // COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_STATE_H 53 #endif // COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_STATE_H
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_signin_chromeos.cc ('k') | components/proximity_auth/switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698