| 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/power_button_controller_delegate_chromeo
s.h" | 5 #include "chrome/browser/chromeos/power/power_button_controller_delegate_chromeo
s.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h" | 8 #include "chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h" |
| 9 #include "chrome/browser/lifetime/application_lifetime.h" | 9 #include "chrome/browser/lifetime/application_lifetime.h" |
| 10 #include "chromeos/dbus/dbus_thread_manager.h" | 10 #include "chromeos/dbus/dbus_thread_manager.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 } | 24 } |
| 25 | 25 |
| 26 DBusThreadManager::Get()->GetSessionManagerClient()->RequestLockScreen(); | 26 DBusThreadManager::Get()->GetSessionManagerClient()->RequestLockScreen(); |
| 27 } | 27 } |
| 28 | 28 |
| 29 void PowerButtonControllerDelegateChromeos::RequestShutdown() { | 29 void PowerButtonControllerDelegateChromeos::RequestShutdown() { |
| 30 DBusThreadManager::Get()->GetPowerManagerClient()->RequestShutdown(); | 30 DBusThreadManager::Get()->GetPowerManagerClient()->RequestShutdown(); |
| 31 } | 31 } |
| 32 | 32 |
| 33 } // namespace chromeos | 33 } // namespace chromeos |
| OLD | NEW |