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/lock/screen_locker.h" | 5 #include "chrome/browser/chromeos/login/lock/screen_locker.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/common/wallpaper/wallpaper_controller.h" | |
11 #include "ash/common/wm/window_state.h" | |
12 #include "ash/common/wm/wm_event.h" | |
13 #include "ash/common/wm_shell.h" | |
14 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| 11 #include "ash/wallpaper/wallpaper_controller.h" |
15 #include "ash/wm/lock_state_controller.h" | 12 #include "ash/wm/lock_state_controller.h" |
| 13 #include "ash/wm/window_state.h" |
16 #include "ash/wm/window_state_aura.h" | 14 #include "ash/wm/window_state_aura.h" |
17 #include "ash/wm/window_util.h" | 15 #include "ash/wm/window_util.h" |
| 16 #include "ash/wm/wm_event.h" |
| 17 #include "ash/wm_shell.h" |
18 #include "base/bind.h" | 18 #include "base/bind.h" |
19 #include "base/command_line.h" | 19 #include "base/command_line.h" |
20 #include "base/lazy_instance.h" | 20 #include "base/lazy_instance.h" |
21 #include "base/location.h" | 21 #include "base/location.h" |
22 #include "base/macros.h" | 22 #include "base/macros.h" |
23 #include "base/memory/weak_ptr.h" | 23 #include "base/memory/weak_ptr.h" |
24 #include "base/message_loop/message_loop.h" | 24 #include "base/message_loop/message_loop.h" |
25 #include "base/metrics/histogram_macros.h" | 25 #include "base/metrics/histogram_macros.h" |
26 #include "base/single_thread_task_runner.h" | 26 #include "base/single_thread_task_runner.h" |
27 #include "base/strings/string_number_conversions.h" | 27 #include "base/strings/string_number_conversions.h" |
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 | 559 |
560 bool ScreenLocker::IsUserLoggedIn(const AccountId& account_id) const { | 560 bool ScreenLocker::IsUserLoggedIn(const AccountId& account_id) const { |
561 for (user_manager::User* user : users_) { | 561 for (user_manager::User* user : users_) { |
562 if (user->GetAccountId() == account_id) | 562 if (user->GetAccountId() == account_id) |
563 return true; | 563 return true; |
564 } | 564 } |
565 return false; | 565 return false; |
566 } | 566 } |
567 | 567 |
568 } // namespace chromeos | 568 } // namespace chromeos |
OLD | NEW |