| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/arc/arc_service_launcher.h" | 5 #include "chrome/browser/chromeos/arc/arc_service_launcher.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 #include "components/arc/clipboard/arc_clipboard_bridge.h" | 29 #include "components/arc/clipboard/arc_clipboard_bridge.h" |
| 30 #include "components/arc/crash_collector/arc_crash_collector_bridge.h" | 30 #include "components/arc/crash_collector/arc_crash_collector_bridge.h" |
| 31 #include "components/arc/ime/arc_ime_service.h" | 31 #include "components/arc/ime/arc_ime_service.h" |
| 32 #include "components/arc/intent_helper/arc_intent_helper_bridge.h" | 32 #include "components/arc/intent_helper/arc_intent_helper_bridge.h" |
| 33 #include "components/arc/kiosk/arc_kiosk_bridge.h" | 33 #include "components/arc/kiosk/arc_kiosk_bridge.h" |
| 34 #include "components/arc/metrics/arc_metrics_service.h" | 34 #include "components/arc/metrics/arc_metrics_service.h" |
| 35 #include "components/arc/net/arc_net_host_impl.h" | 35 #include "components/arc/net/arc_net_host_impl.h" |
| 36 #include "components/arc/obb_mounter/arc_obb_mounter_bridge.h" | 36 #include "components/arc/obb_mounter/arc_obb_mounter_bridge.h" |
| 37 #include "components/arc/power/arc_power_bridge.h" | 37 #include "components/arc/power/arc_power_bridge.h" |
| 38 #include "components/arc/storage_manager/arc_storage_manager.h" | 38 #include "components/arc/storage_manager/arc_storage_manager.h" |
| 39 #include "components/arc/user_data/arc_user_data_service.h" | |
| 40 #include "components/prefs/pref_member.h" | 39 #include "components/prefs/pref_member.h" |
| 41 #include "content/public/browser/browser_thread.h" | 40 #include "content/public/browser/browser_thread.h" |
| 42 #include "ui/arc/notification/arc_notification_manager.h" | 41 #include "ui/arc/notification/arc_notification_manager.h" |
| 43 | 42 |
| 44 namespace arc { | 43 namespace arc { |
| 45 namespace { | 44 namespace { |
| 46 | 45 |
| 47 // ChromeBrowserMainPartsChromeos owns. | 46 // ChromeBrowserMainPartsChromeos owns. |
| 48 ArcServiceLauncher* g_arc_service_launcher = nullptr; | 47 ArcServiceLauncher* g_arc_service_launcher = nullptr; |
| 49 | 48 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 145 |
| 147 void ArcServiceLauncher::Shutdown() { | 146 void ArcServiceLauncher::Shutdown() { |
| 148 DCHECK(arc_service_manager_); | 147 DCHECK(arc_service_manager_); |
| 149 // Destroy in the reverse order of the initialization. | 148 // Destroy in the reverse order of the initialization. |
| 150 arc_service_manager_->Shutdown(); | 149 arc_service_manager_->Shutdown(); |
| 151 arc_session_manager_.reset(); | 150 arc_session_manager_.reset(); |
| 152 arc_service_manager_.reset(); | 151 arc_service_manager_.reset(); |
| 153 } | 152 } |
| 154 | 153 |
| 155 } // namespace arc | 154 } // namespace arc |
| OLD | NEW |