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/screens/user_selection_screen.h" | 5 #include "chrome/browser/chromeos/login/screens/user_selection_screen.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/location.h" | 9 #include "base/location.h" |
8 #include "base/logging.h" | 10 #include "base/logging.h" |
9 #include "base/prefs/pref_service.h" | 11 #include "base/prefs/pref_service.h" |
10 #include "base/values.h" | 12 #include "base/values.h" |
11 #include "chrome/browser/browser_process.h" | 13 #include "chrome/browser/browser_process.h" |
12 #include "chrome/browser/browser_process_platform_part.h" | 14 #include "chrome/browser/browser_process_platform_part.h" |
13 #include "chrome/browser/chromeos/login/lock/screen_locker.h" | 15 #include "chrome/browser/chromeos/login/lock/screen_locker.h" |
14 #include "chrome/browser/chromeos/login/reauth_stats.h" | 16 #include "chrome/browser/chromeos/login/reauth_stats.h" |
15 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" | 17 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" |
16 #include "chrome/browser/chromeos/login/ui/views/user_board_view.h" | 18 #include "chrome/browser/chromeos/login/ui/views/user_board_view.h" |
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 // The user profile should exist if and only if this is the lock screen. | 552 // The user profile should exist if and only if this is the lock screen. |
551 DCHECK_EQ(!!profile, GetScreenType() == LOCK_SCREEN); | 553 DCHECK_EQ(!!profile, GetScreenType() == LOCK_SCREEN); |
552 | 554 |
553 if (!profile) | 555 if (!profile) |
554 profile = profile_helper->GetSigninProfile(); | 556 profile = profile_helper->GetSigninProfile(); |
555 | 557 |
556 return EasyUnlockService::Get(profile); | 558 return EasyUnlockService::Get(profile); |
557 } | 559 } |
558 | 560 |
559 } // namespace chromeos | 561 } // namespace chromeos |
OLD | NEW |