easy-signin: Show tooltip for first login after setup.
commite4f1c4e088cca7af5caeb41b3312831ae39e7abd
authorxiyuan <xiyuan@chromium.org>
Mon, 6 Oct 2014 16:28:44 +0000 (6 09:28 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 6 Oct 2014 16:29:07 +0000 (6 16:29 +0000)
treee7ebe259c635d79fe60f3a1e1f2942ea13cb6f39
parent318c067274527511a5e8d26f1c3d96fab683fa83
easy-signin: Show tooltip for first login after setup.

- Migrate hardlock state from user prefs to local state;
- Change hardlock state from a boolean to an enum to support multiple hardlock
  cases;
- PAIRING_CHANGED hardlock when user has pairing data but it is different from
  cryptohome keys;
- NO_PAIRING when user has no pairing data;
- Refresh easy unlock keys when lock screen is dismissed
  with password;

Unrelated fix:
- Move prefs::kEasyUnlockAllowed to EasyUnlockServiceRegular because it is
  a user pref/policy;

BUG=419099

Review URL: https://codereview.chromium.org/619443003

Cr-Commit-Position: refs/heads/master@{#298245}
23 files changed:
chrome/app/generated_resources.grd
chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.cc
chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.cc
chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.h
chrome/browser/chromeos/login/easy_unlock/easy_unlock_remove_keys_operation.cc
chrome/browser/chromeos/login/easy_unlock/easy_unlock_remove_keys_operation.h
chrome/browser/chromeos/login/lock/screen_locker.cc
chrome/browser/chromeos/login/session/user_session_manager.cc
chrome/browser/chromeos/login/session/user_session_manager.h
chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc
chrome/browser/prefs/browser_prefs.cc
chrome/browser/signin/easy_unlock_screenlock_state_handler.cc
chrome/browser/signin/easy_unlock_screenlock_state_handler.h
chrome/browser/signin/easy_unlock_screenlock_state_handler_unittest.cc
chrome/browser/signin/easy_unlock_service.cc
chrome/browser/signin/easy_unlock_service.h
chrome/browser/signin/easy_unlock_service_regular.cc
chrome/browser/signin/easy_unlock_service_regular.h
chrome/browser/signin/easy_unlock_service_signin_chromeos.cc
chrome/browser/signin/easy_unlock_service_signin_chromeos.h
chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc
chrome/common/pref_names.cc
chrome/common/pref_names.h