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 "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
9 #include "chrome/browser/chromeos/arc/arc_auth_service.h" | 9 #include "chrome/browser/chromeos/arc/arc_auth_service.h" |
10 #include "chrome/browser/chromeos/arc/arc_boot_error_notification.h" | 10 #include "chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_se
rvice.h" |
11 #include "chrome/browser/chromeos/arc/arc_downloads_watcher_service.h" | 11 #include "chrome/browser/chromeos/arc/enterprise/arc_enterprise_reporting_servic
e.h" |
12 #include "chrome/browser/chromeos/arc/arc_enterprise_reporting_service.h" | 12 #include "chrome/browser/chromeos/arc/intent_helper/arc_settings_service.h" |
13 #include "chrome/browser/chromeos/arc/arc_policy_bridge.h" | 13 #include "chrome/browser/chromeos/arc/notification/arc_boot_error_notification.h
" |
14 #include "chrome/browser/chromeos/arc/arc_print_service.h" | 14 #include "chrome/browser/chromeos/arc/policy/arc_policy_bridge.h" |
15 #include "chrome/browser/chromeos/arc/arc_process_service.h" | 15 #include "chrome/browser/chromeos/arc/print/arc_print_service.h" |
16 #include "chrome/browser/chromeos/arc/arc_settings_service.h" | 16 #include "chrome/browser/chromeos/arc/process/arc_process_service.h" |
17 #include "chrome/browser/chromeos/arc/arc_tts_service.h" | 17 #include "chrome/browser/chromeos/arc/tts/arc_tts_service.h" |
18 #include "chrome/browser/chromeos/arc/arc_wallpaper_service.h" | 18 #include "chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.h" |
19 #include "chrome/browser/chromeos/arc/gpu_arc_video_service_host.h" | 19 #include "chrome/browser/chromeos/arc/wallpaper/arc_wallpaper_service.h" |
20 #include "components/arc/intent_helper/arc_intent_helper_bridge.h" | 20 #include "components/arc/intent_helper/arc_intent_helper_bridge.h" |
21 #include "content/public/browser/browser_thread.h" | 21 #include "content/public/browser/browser_thread.h" |
22 | 22 |
23 namespace arc { | 23 namespace arc { |
24 | 24 |
25 ArcServiceLauncher::ArcServiceLauncher() = default; | 25 ArcServiceLauncher::ArcServiceLauncher() = default; |
26 | 26 |
27 ArcServiceLauncher::~ArcServiceLauncher() = default; | 27 ArcServiceLauncher::~ArcServiceLauncher() = default; |
28 | 28 |
29 void ArcServiceLauncher::Initialize() { | 29 void ArcServiceLauncher::Initialize() { |
(...skipping 28 matching lines...) Expand all Loading... |
58 arc_service_manager_->AddService(base::MakeUnique<GpuArcVideoServiceHost>( | 58 arc_service_manager_->AddService(base::MakeUnique<GpuArcVideoServiceHost>( |
59 arc_service_manager_->arc_bridge_service())); | 59 arc_service_manager_->arc_bridge_service())); |
60 } | 60 } |
61 | 61 |
62 void ArcServiceLauncher::Shutdown() { | 62 void ArcServiceLauncher::Shutdown() { |
63 DCHECK(arc_service_manager_); | 63 DCHECK(arc_service_manager_); |
64 arc_service_manager_->Shutdown(); | 64 arc_service_manager_->Shutdown(); |
65 } | 65 } |
66 | 66 |
67 } // namespace arc | 67 } // namespace arc |
OLD | NEW |