OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/chromeos/system/device_disabling_manager_default_delega
te.h" |
| 6 |
| 7 #include "chrome/browser/chromeos/login/ui/login_display_host.h" |
| 8 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" |
| 9 #include "chrome/browser/chromeos/login/wizard_controller.h" |
| 10 #include "chrome/browser/lifetime/application_lifetime.h" |
| 11 |
| 12 namespace chromeos { |
| 13 namespace system { |
| 14 |
| 15 DeviceDisablingManagerDefaultDelegate::DeviceDisablingManagerDefaultDelegate() { |
| 16 } |
| 17 |
| 18 void DeviceDisablingManagerDefaultDelegate::RestartToLoginScreen() { |
| 19 chrome::AttemptUserExit(); |
| 20 } |
| 21 |
| 22 void DeviceDisablingManagerDefaultDelegate::ShowDeviceDisabledScreen() { |
| 23 LoginDisplayHostImpl::default_host()->StartWizard( |
| 24 WizardController::kDeviceDisabledScreenName, |
| 25 nullptr); |
| 26 } |
| 27 |
| 28 } // namespace system |
| 29 } // namespace chromeos |
OLD | NEW |