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

Side by Side Diff: chrome/browser/chromeos/login/lock/screen_locker.cc

Issue 2314853003: Move ash::DisplayManager switches to ui::display (Closed)
Patch Set: Created 4 years, 3 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/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/ash_switches.h"
11 #include "ash/common/wm/window_state.h" 10 #include "ash/common/wm/window_state.h"
12 #include "ash/common/wm/wm_event.h" 11 #include "ash/common/wm/wm_event.h"
13 #include "ash/shell.h" 12 #include "ash/shell.h"
14 #include "ash/wallpaper/wallpaper_controller.h" 13 #include "ash/wallpaper/wallpaper_controller.h"
15 #include "ash/wm/lock_state_controller.h" 14 #include "ash/wm/lock_state_controller.h"
16 #include "ash/wm/window_state_aura.h" 15 #include "ash/wm/window_state_aura.h"
17 #include "ash/wm/window_util.h" 16 #include "ash/wm/window_util.h"
18 #include "base/bind.h" 17 #include "base/bind.h"
19 #include "base/command_line.h" 18 #include "base/command_line.h"
20 #include "base/lazy_instance.h" 19 #include "base/lazy_instance.h"
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 544
546 bool ScreenLocker::IsUserLoggedIn(const AccountId& account_id) const { 545 bool ScreenLocker::IsUserLoggedIn(const AccountId& account_id) const {
547 for (user_manager::User* user : users_) { 546 for (user_manager::User* user : users_) {
548 if (user->GetAccountId() == account_id) 547 if (user->GetAccountId() == account_id)
549 return true; 548 return true;
550 } 549 }
551 return false; 550 return false;
552 } 551 }
553 552
554 } // namespace chromeos 553 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698