| OLD | NEW |
| 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/demo_mode/demo_app_launcher.h" | 5 #include "chrome/browser/chromeos/login/demo_mode/demo_app_launcher.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "chrome/browser/chromeos/app_mode/app_session_lifetime.h" | 10 #include "chrome/browser/chromeos/app_mode/app_session_lifetime.h" |
| 11 #include "chrome/browser/chromeos/login/ui/login_display_host.h" | 11 #include "chrome/browser/chromeos/login/ui/login_display_host.h" |
| 12 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" | 12 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" |
| 13 #include "chrome/browser/extensions/component_loader.h" | 13 #include "chrome/browser/extensions/component_loader.h" |
| 14 #include "chrome/browser/extensions/extension_service.h" | 14 #include "chrome/browser/extensions/extension_service.h" |
| 15 #include "chrome/browser/lifetime/application_lifetime.h" | 15 #include "chrome/browser/lifetime/application_lifetime.h" |
| 16 #include "chrome/browser/profiles/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
| 17 #include "chrome/browser/ui/extensions/application_launch.h" | 17 #include "chrome/browser/ui/extensions/application_launch.h" |
| 18 #include "chrome/common/chrome_switches.h" | |
| 19 #include "chrome/common/extensions/extension_constants.h" | 18 #include "chrome/common/extensions/extension_constants.h" |
| 20 #include "chrome/grit/browser_resources.h" | 19 #include "chrome/grit/browser_resources.h" |
| 21 #include "chromeos/network/network_handler.h" | 20 #include "chromeos/network/network_handler.h" |
| 22 #include "chromeos/network/network_state_handler.h" | 21 #include "chromeos/network/network_state_handler.h" |
| 23 #include "components/user_manager/user_manager.h" | 22 #include "components/user_manager/user_manager.h" |
| 24 #include "extensions/browser/extension_system.h" | 23 #include "extensions/browser/extension_system.h" |
| 25 #include "extensions/common/extension.h" | 24 #include "extensions/common/extension.h" |
| 26 #include "ui/base/window_open_disposition.h" | 25 #include "ui/base/window_open_disposition.h" |
| 27 | 26 |
| 28 namespace chromeos { | 27 namespace chromeos { |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 99 |
| 101 LoginDisplayHostImpl::default_host()->Finalize(); | 100 LoginDisplayHostImpl::default_host()->Finalize(); |
| 102 } | 101 } |
| 103 | 102 |
| 104 void DemoAppLauncher::OnProfileLoadFailed(KioskAppLaunchError::Error error) { | 103 void DemoAppLauncher::OnProfileLoadFailed(KioskAppLaunchError::Error error) { |
| 105 LOG(ERROR) << "Loading the Kiosk Profile failed: " << | 104 LOG(ERROR) << "Loading the Kiosk Profile failed: " << |
| 106 KioskAppLaunchError::GetErrorMessage(error); | 105 KioskAppLaunchError::GetErrorMessage(error); |
| 107 } | 106 } |
| 108 | 107 |
| 109 } // namespace chromeos | 108 } // namespace chromeos |
| OLD | NEW |