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

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

Issue 1165323004: We should use UserID object to identify users instead of username. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698