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

Unified Diff: components/proximity_auth/unlock_manager_impl.cc

Issue 2937553002: Create Mojo Struct for user information used in login/lock screen. (Closed)
Patch Set: rebase Created 3 years, 6 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: components/proximity_auth/unlock_manager_impl.cc
diff --git a/components/proximity_auth/unlock_manager_impl.cc b/components/proximity_auth/unlock_manager_impl.cc
index ffce50a7d4989a1d19c91c6046df0c9c61edf908..92afbacee4338f8f51a3897338f6f18cf1d18196 100644
--- a/components/proximity_auth/unlock_manager_impl.cc
+++ b/components/proximity_auth/unlock_manager_impl.cc
@@ -283,14 +283,13 @@ void UnlockManagerImpl::SuspendDone(const base::TimeDelta& sleep_duration) {
}
#endif // defined(OS_CHROMEOS)
-void UnlockManagerImpl::OnAuthAttempted(
- ScreenlockBridge::LockHandler::AuthType auth_type) {
+void UnlockManagerImpl::OnAuthAttempted(mojom::AuthType auth_type) {
if (is_attempting_auth_) {
PA_LOG(INFO) << "Already attempting auth.";
return;
}
- if (auth_type != ScreenlockBridge::LockHandler::USER_CLICK)
+ if (auth_type != mojom::AuthType::USER_CLICK)
return;
is_attempting_auth_ = true;
« no previous file with comments | « components/proximity_auth/unlock_manager_impl.h ('k') | components/proximity_auth/unlock_manager_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698