OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/app_mode/app_session.h" | 5 #include "chrome/browser/chromeos/app_mode/app_session.h" |
6 | 6 |
7 #include <errno.h> | 7 #include <errno.h> |
8 #include <signal.h> | 8 #include <signal.h> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/bind.h" | 10 #include "base/bind.h" |
12 #include "base/lazy_instance.h" | 11 #include "base/lazy_instance.h" |
| 12 #include "base/macros.h" |
13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
14 #include "base/prefs/pref_service.h" | 14 #include "base/prefs/pref_service.h" |
15 #include "chrome/browser/browser_process.h" | 15 #include "chrome/browser/browser_process.h" |
16 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" | 16 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" |
17 #include "chrome/browser/chromeos/app_mode/kiosk_app_update_service.h" | 17 #include "chrome/browser/chromeos/app_mode/kiosk_app_update_service.h" |
18 #include "chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification
.h" | 18 #include "chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification
.h" |
19 #include "chrome/browser/chromeos/app_mode/kiosk_session_plugin_handler.h" | 19 #include "chrome/browser/chromeos/app_mode/kiosk_session_plugin_handler.h" |
20 #include "chrome/browser/chromeos/login/demo_mode/demo_app_launcher.h" | 20 #include "chrome/browser/chromeos/login/demo_mode/demo_app_launcher.h" |
21 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" | 21 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" |
22 #include "chrome/browser/lifetime/application_lifetime.h" | 22 #include "chrome/browser/lifetime/application_lifetime.h" |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 return; | 260 return; |
261 is_shutting_down_ = true; | 261 is_shutting_down_ = true; |
262 | 262 |
263 LOG(ERROR) << "Plugin hung detected. Dump and reboot."; | 263 LOG(ERROR) << "Plugin hung detected. Dump and reboot."; |
264 content::BrowserThread::PostTask( | 264 content::BrowserThread::PostTask( |
265 content::BrowserThread::IO, FROM_HERE, | 265 content::BrowserThread::IO, FROM_HERE, |
266 base::Bind(&DumpPluginProcessOnIOThread, hung_plugins)); | 266 base::Bind(&DumpPluginProcessOnIOThread, hung_plugins)); |
267 } | 267 } |
268 | 268 |
269 } // namespace chromeos | 269 } // namespace chromeos |
OLD | NEW |