| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/power/login_lock_state_notifier.h" | 5 #include "chrome/browser/chromeos/power/login_lock_state_notifier.h" |
| 6 | 6 |
| 7 #include "ash/common/login_status.h" | 7 #include "ash/common/login_status.h" |
| 8 #include "ash/common/system/tray/system_tray_delegate.h" | |
| 9 #include "ash/common/wm_shell.h" | 8 #include "ash/common/wm_shell.h" |
| 10 #include "ash/shell.h" | 9 #include "ash/shell.h" |
| 10 #include "ash/system/tray/system_tray_delegate.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "chrome/browser/chrome_notification_types.h" | 12 #include "chrome/browser/chrome_notification_types.h" |
| 13 #include "chrome/browser/chromeos/login/lock/screen_locker.h" | 13 #include "chrome/browser/chromeos/login/lock/screen_locker.h" |
| 14 #include "content/public/browser/notification_service.h" | 14 #include "content/public/browser/notification_service.h" |
| 15 | 15 |
| 16 namespace ash { | 16 namespace ash { |
| 17 class LockStateControllerDelegate; | 17 class LockStateControllerDelegate; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace chromeos { | 20 namespace chromeos { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 bool locked = *content::Details<bool>(details).ptr(); | 64 bool locked = *content::Details<bool>(details).ptr(); |
| 65 ash::Shell::GetInstance()->OnLockStateChanged(locked); | 65 ash::Shell::GetInstance()->OnLockStateChanged(locked); |
| 66 break; | 66 break; |
| 67 } | 67 } |
| 68 default: | 68 default: |
| 69 NOTREACHED() << "Unexpected notification " << type; | 69 NOTREACHED() << "Unexpected notification " << type; |
| 70 } | 70 } |
| 71 } | 71 } |
| 72 | 72 |
| 73 } // namespace chromeos | 73 } // namespace chromeos |
| OLD | NEW |