OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/easy_unlock_user_login_flow.
h" | 5 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_user_login_flow.
h" |
6 | 6 |
7 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 7 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
8 #include "chrome/browser/signin/easy_unlock_service.h" | 8 #include "chrome/browser/signin/easy_unlock_service.h" |
9 | 9 |
10 EasyUnlockUserLoginFlow::EasyUnlockUserLoginFlow(const std::string& user_id) | 10 EasyUnlockUserLoginFlow::EasyUnlockUserLoginFlow(const user_manager::UserID& use
r_id) |
11 : chromeos::ExtendedUserFlow(user_id) { | 11 : chromeos::ExtendedUserFlow(user_id) { |
12 } | 12 } |
13 | 13 |
14 EasyUnlockUserLoginFlow::~EasyUnlockUserLoginFlow() {} | 14 EasyUnlockUserLoginFlow::~EasyUnlockUserLoginFlow() {} |
15 | 15 |
16 bool EasyUnlockUserLoginFlow::CanLockScreen() { | 16 bool EasyUnlockUserLoginFlow::CanLockScreen() { |
17 return true; | 17 return true; |
18 } | 18 } |
19 | 19 |
20 bool EasyUnlockUserLoginFlow::ShouldLaunchBrowser() { | 20 bool EasyUnlockUserLoginFlow::ShouldLaunchBrowser() { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 void EasyUnlockUserLoginFlow::HandleOAuthTokenStatusChange( | 53 void EasyUnlockUserLoginFlow::HandleOAuthTokenStatusChange( |
54 user_manager::User::OAuthTokenStatus status) { | 54 user_manager::User::OAuthTokenStatus status) { |
55 } | 55 } |
56 | 56 |
57 void EasyUnlockUserLoginFlow::LaunchExtraSteps(Profile* profile) { | 57 void EasyUnlockUserLoginFlow::LaunchExtraSteps(Profile* profile) { |
58 } | 58 } |
59 | 59 |
60 bool EasyUnlockUserLoginFlow::SupportsEarlyRestartToApplyFlags() { | 60 bool EasyUnlockUserLoginFlow::SupportsEarlyRestartToApplyFlags() { |
61 return true; | 61 return true; |
62 } | 62 } |
OLD | NEW |