| 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/chrome_browser_main_linux.h" | 5 #include "chrome/browser/chrome_browser_main_linux.h" |
| 6 | 6 |
| 7 #include <fontconfig/fontconfig.h> | 7 #include <fontconfig/fontconfig.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/single_thread_task_runner.h" |
| 11 #include "base/task_scheduler/post_task.h" | 12 #include "base/task_scheduler/post_task.h" |
| 12 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 13 #include "chrome/browser/browser_process.h" | 14 #include "chrome/browser/browser_process.h" |
| 14 #include "chrome/grit/chromium_strings.h" | 15 #include "chrome/grit/chromium_strings.h" |
| 15 #include "components/crash/content/app/breakpad_linux.h" | 16 #include "components/crash/content/app/breakpad_linux.h" |
| 16 #include "components/metrics/metrics_service.h" | 17 #include "components/metrics/metrics_service.h" |
| 17 #include "device/bluetooth/dbus/bluez_dbus_manager.h" | 18 #include "device/bluetooth/dbus/bluez_dbus_manager.h" |
| 18 #include "device/bluetooth/dbus/dbus_thread_manager_linux.h" | 19 #include "device/bluetooth/dbus/dbus_thread_manager_linux.h" |
| 19 #include "media/audio/audio_manager.h" | 20 #include "media/audio/audio_manager.h" |
| 20 #include "ui/base/l10n/l10n_util.h" | 21 #include "ui/base/l10n/l10n_util.h" |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 } | 92 } |
| 92 | 93 |
| 93 void ChromeBrowserMainPartsLinux::PostDestroyThreads() { | 94 void ChromeBrowserMainPartsLinux::PostDestroyThreads() { |
| 94 #if !defined(OS_CHROMEOS) | 95 #if !defined(OS_CHROMEOS) |
| 95 bluez::BluezDBusManager::Shutdown(); | 96 bluez::BluezDBusManager::Shutdown(); |
| 96 bluez::DBusThreadManagerLinux::Shutdown(); | 97 bluez::DBusThreadManagerLinux::Shutdown(); |
| 97 #endif | 98 #endif |
| 98 | 99 |
| 99 ChromeBrowserMainPartsPosix::PostDestroyThreads(); | 100 ChromeBrowserMainPartsPosix::PostDestroyThreads(); |
| 100 } | 101 } |
| OLD | NEW |