OLD | NEW |
---|---|
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/chrome_browser_main_chromeos.h" | 5 #include "chrome/browser/chromeos/chrome_browser_main_chromeos.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/ash_switches.h" | 10 #include "ash/ash_switches.h" |
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
716 idle_action_warning_observer_.reset(); | 716 idle_action_warning_observer_.reset(); |
717 | 717 |
718 MagnificationManager::Shutdown(); | 718 MagnificationManager::Shutdown(); |
719 | 719 |
720 AccessibilityManager::Shutdown(); | 720 AccessibilityManager::Shutdown(); |
721 | 721 |
722 media::SoundsManager::Shutdown(); | 722 media::SoundsManager::Shutdown(); |
723 | 723 |
724 system::StatisticsProvider::GetInstance()->Shutdown(); | 724 system::StatisticsProvider::GetInstance()->Shutdown(); |
725 | 725 |
726 // Make sure that there is no pending URLRequests. | |
Nikita (slow)
2015/05/15 16:14:22
Please move this to line 772.
| |
727 UserSessionManager::GetInstance()->Shutdown(); | |
728 | |
726 // Let the UserManager and WallpaperManager unregister itself as an observer | 729 // Let the UserManager and WallpaperManager unregister itself as an observer |
727 // of the CrosSettings singleton before it is destroyed. This also ensures | 730 // of the CrosSettings singleton before it is destroyed. This also ensures |
728 // that the UserManager has no URLRequest pending (see | 731 // that the UserManager has no URLRequest pending (see |
729 // http://crbug.com/276659). | 732 // http://crbug.com/276659). |
730 g_browser_process->platform_part()->user_manager()->Shutdown(); | 733 g_browser_process->platform_part()->user_manager()->Shutdown(); |
731 WallpaperManager::Shutdown(); | 734 WallpaperManager::Shutdown(); |
732 | 735 |
733 // Let the DeviceDisablingManager unregister itself as an observer of the | 736 // Let the DeviceDisablingManager unregister itself as an observer of the |
734 // CrosSettings singleton before it is destroyed. | 737 // CrosSettings singleton before it is destroyed. |
735 g_browser_process->platform_part()->ShutdownDeviceDisablingManager(); | 738 g_browser_process->platform_part()->ShutdownDeviceDisablingManager(); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
774 // Destroy DBus services immediately after threads are stopped. | 777 // Destroy DBus services immediately after threads are stopped. |
775 dbus_services_.reset(); | 778 dbus_services_.reset(); |
776 | 779 |
777 ChromeBrowserMainPartsLinux::PostDestroyThreads(); | 780 ChromeBrowserMainPartsLinux::PostDestroyThreads(); |
778 | 781 |
779 // Destroy DeviceSettingsService after g_browser_process. | 782 // Destroy DeviceSettingsService after g_browser_process. |
780 DeviceSettingsService::Shutdown(); | 783 DeviceSettingsService::Shutdown(); |
781 } | 784 } |
782 | 785 |
783 } // namespace chromeos | 786 } // namespace chromeos |
OLD | NEW |