Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / chromeos / system / device_disabling_manager_default_delegate.cc
blob333ba21b9c07268a9fc7a1d88d5296a8a69fb0cc
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.
5 #include "chrome/browser/chromeos/system/device_disabling_manager_default_delegate.h"
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"
12 namespace chromeos {
13 namespace system {
15 DeviceDisablingManagerDefaultDelegate::DeviceDisablingManagerDefaultDelegate() {
18 void DeviceDisablingManagerDefaultDelegate::RestartToLoginScreen() {
19 chrome::AttemptUserExit();
22 void DeviceDisablingManagerDefaultDelegate::ShowDeviceDisabledScreen() {
23 LoginDisplayHostImpl::default_host()->StartWizard(
24 WizardController::kDeviceDisabledScreenName);
27 } // namespace system
28 } // namespace chromeos