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

Side by Side Diff: chrome/browser/chromeos/login/easy_unlock/bootstrap_user_flow.cc

Issue 1096293003: Move screenlock_bridge to components/proximity_auth (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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 #include "chrome/browser/chromeos/login/easy_unlock/bootstrap_user_flow.h" 5 #include "chrome/browser/chromeos/login/easy_unlock/bootstrap_user_flow.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/sys_info.h" 8 #include "base/sys_info.h"
9 #include "chrome/browser/chromeos/login/easy_unlock/bootstrap_manager.h" 9 #include "chrome/browser/chromeos/login/easy_unlock/bootstrap_manager.h"
10 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.h" 10 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.h"
11 #include "chrome/browser/chromeos/login/session/user_session_manager.h" 11 #include "chrome/browser/chromeos/login/session/user_session_manager.h"
12 #include "chrome/browser/chromeos/login/users/chrome_user_manager.h" 12 #include "chrome/browser/chromeos/login/users/chrome_user_manager.h"
13 #include "chrome/browser/lifetime/application_lifetime.h" 13 #include "chrome/browser/lifetime/application_lifetime.h"
14 #include "chrome/browser/signin/easy_unlock_service.h" 14 #include "chrome/browser/signin/easy_unlock_service.h"
15 #include "chrome/browser/signin/easy_unlock_service_regular.h" 15 #include "chrome/browser/signin/easy_unlock_service_regular.h"
16 #include "chrome/browser/signin/screenlock_bridge.h" 16 #include "components/proximity_auth/screenlock_bridge.h"
17 17
18 namespace chromeos { 18 namespace chromeos {
19 19
20 BootstrapUserFlow::BootstrapUserFlow(const UserContext& user_context, 20 BootstrapUserFlow::BootstrapUserFlow(const UserContext& user_context,
21 bool is_new_account) 21 bool is_new_account)
22 : ExtendedUserFlow(user_context.GetUserID()), 22 : ExtendedUserFlow(user_context.GetUserID()),
23 user_context_(user_context), 23 user_context_(user_context),
24 is_new_account_(is_new_account), 24 is_new_account_(is_new_account),
25 finished_(false), 25 finished_(false),
26 user_profile_(nullptr), 26 user_profile_(nullptr),
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 void BootstrapUserFlow::OnAuthenticationFailure( 173 void BootstrapUserFlow::OnAuthenticationFailure(
174 ExtendedAuthenticator::AuthState state) { 174 ExtendedAuthenticator::AuthState state) {
175 // TODO(xiyuan): Show error UI. 175 // TODO(xiyuan): Show error UI.
176 LOG(ERROR) << "Bootstrapped failed because authenticator falure" 176 LOG(ERROR) << "Bootstrapped failed because authenticator falure"
177 << ", state=" << state; 177 << ", state=" << state;
178 chrome::AttemptUserExit(); 178 chrome::AttemptUserExit();
179 } 179 }
180 180
181 } // namespace chromeos 181 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698