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

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

Issue 868133005: [Smart Lock] Add error message strings for the "Tx Power too high" case. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update TODO comment Created 5 years, 11 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.h
diff --git a/chrome/browser/signin/easy_unlock_screenlock_state_handler.h b/chrome/browser/signin/easy_unlock_screenlock_state_handler.h
index 7e0ccf342d8576cc9a36b0344a62bd7b73fd9e34..037c81863b5e13476ad5136f05642c138d65078c 100644
--- a/chrome/browser/signin/easy_unlock_screenlock_state_handler.h
+++ b/chrome/browser/signin/easy_unlock_screenlock_state_handler.h
@@ -45,6 +45,11 @@ class EasyUnlockScreenlockStateHandler : public ScreenlockBridge::Observer {
// transmission power is too high, indicating that the phone is (probably)
// more than 1 foot away, and therefore is not allowed to unlock the device.
STATE_TX_POWER_TOO_HIGH,
+ // A phone eligible to unlock the device is found; but (a) the phone is
+ // locked, and (b) the local device's transmission power is too high,
+ // indicating that the phone is (probably) more than 1 foot away, and
+ // therefore is not allowed to unlock the device.
+ STATE_PHONE_LOCKED_AND_TX_POWER_TOO_HIGH,
// The device can be unlocked using Easy Unlock.
STATE_AUTHENTICATED
};

Powered by Google App Engine
This is Rietveld 408576698