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

Unified Diff: chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initializer.cc

Issue 1113043004: [Smart Lock] Extract the screenlock state to the proximity_auth component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit tests compile Created 5 years, 8 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/chromeos/login/easy_unlock/bootstrap_user_context_initializer.cc
diff --git a/chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initializer.cc b/chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initializer.cc
index b83e9ee5efe0ef4dbc158ddde36ac405284e1a75..6338752ac32a1240e4ca9cd19e3c7ccfc3489fe9 100644
--- a/chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initializer.cc
+++ b/chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initializer.cc
@@ -192,10 +192,10 @@ void BootstrapUserContextInitializer::OnNetworkError(int response_code) {
}
void BootstrapUserContextInitializer::OnScreenlockStateChanged(
- EasyUnlockScreenlockStateHandler::State state) {
+ proximity_auth::ScreenlockState state) {
// TODO(xiyuan): Add timeout and hook up with error UI after
// http://crbug.com/471067.
- if (state != EasyUnlockScreenlockStateHandler::STATE_AUTHENTICATED)
+ if (state != proximity_auth::ScreenlockState::AUTHENTICATED)
return;
EasyUnlockService* service =

Powered by Google App Engine
This is Rietveld 408576698