Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Side by Side Diff: components/arc/arc_bridge_service.h

Issue 2400163003: arc: enable Android tracing in verified-boot mode (Closed)
Patch Set: Fix some nits Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_ 5 #ifndef COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_
6 #define COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_ 6 #define COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 24 matching lines...) Expand all
35 class KioskInstance; 35 class KioskInstance;
36 class MetricsInstance; 36 class MetricsInstance;
37 class NetInstance; 37 class NetInstance;
38 class NotificationsInstance; 38 class NotificationsInstance;
39 class ObbMounterInstance; 39 class ObbMounterInstance;
40 class PolicyInstance; 40 class PolicyInstance;
41 class PowerInstance; 41 class PowerInstance;
42 class PrintInstance; 42 class PrintInstance;
43 class ProcessInstance; 43 class ProcessInstance;
44 class StorageManagerInstance; 44 class StorageManagerInstance;
45 class TraceInstance;
45 class TtsInstance; 46 class TtsInstance;
46 class VideoInstance; 47 class VideoInstance;
47 class WallpaperInstance; 48 class WallpaperInstance;
48 49
49 } // namespace mojom 50 } // namespace mojom
50 51
51 // Holds Mojo channels which proxy to ARC side implementation. The actual 52 // Holds Mojo channels which proxy to ARC side implementation. The actual
52 // instances are set/removed via ArcBridgeHostImpl. 53 // instances are set/removed via ArcBridgeHostImpl.
53 class ArcBridgeService { 54 class ArcBridgeService {
54 public: 55 public:
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 InstanceHolder<mojom::ObbMounterInstance>* obb_mounter() { 92 InstanceHolder<mojom::ObbMounterInstance>* obb_mounter() {
92 return &obb_mounter_; 93 return &obb_mounter_;
93 } 94 }
94 InstanceHolder<mojom::PolicyInstance>* policy() { return &policy_; } 95 InstanceHolder<mojom::PolicyInstance>* policy() { return &policy_; }
95 InstanceHolder<mojom::PowerInstance>* power() { return &power_; } 96 InstanceHolder<mojom::PowerInstance>* power() { return &power_; }
96 InstanceHolder<mojom::PrintInstance>* print() { return &print_; } 97 InstanceHolder<mojom::PrintInstance>* print() { return &print_; }
97 InstanceHolder<mojom::ProcessInstance>* process() { return &process_; } 98 InstanceHolder<mojom::ProcessInstance>* process() { return &process_; }
98 InstanceHolder<mojom::StorageManagerInstance>* storage_manager() { 99 InstanceHolder<mojom::StorageManagerInstance>* storage_manager() {
99 return &storage_manager_; 100 return &storage_manager_;
100 } 101 }
102 InstanceHolder<mojom::TraceInstance>* trace() { return &trace_; }
101 InstanceHolder<mojom::TtsInstance>* tts() { return &tts_; } 103 InstanceHolder<mojom::TtsInstance>* tts() { return &tts_; }
102 InstanceHolder<mojom::VideoInstance>* video() { return &video_; } 104 InstanceHolder<mojom::VideoInstance>* video() { return &video_; }
103 InstanceHolder<mojom::WallpaperInstance>* wallpaper() { return &wallpaper_; } 105 InstanceHolder<mojom::WallpaperInstance>* wallpaper() { return &wallpaper_; }
104 106
105 private: 107 private:
106 InstanceHolder<mojom::AppInstance> app_; 108 InstanceHolder<mojom::AppInstance> app_;
107 InstanceHolder<mojom::AudioInstance> audio_; 109 InstanceHolder<mojom::AudioInstance> audio_;
108 InstanceHolder<mojom::AuthInstance> auth_; 110 InstanceHolder<mojom::AuthInstance> auth_;
109 InstanceHolder<mojom::BluetoothInstance> bluetooth_; 111 InstanceHolder<mojom::BluetoothInstance> bluetooth_;
110 InstanceHolder<mojom::BootPhaseMonitorInstance> boot_phase_monitor_; 112 InstanceHolder<mojom::BootPhaseMonitorInstance> boot_phase_monitor_;
111 InstanceHolder<mojom::ClipboardInstance> clipboard_; 113 InstanceHolder<mojom::ClipboardInstance> clipboard_;
112 InstanceHolder<mojom::CrashCollectorInstance> crash_collector_; 114 InstanceHolder<mojom::CrashCollectorInstance> crash_collector_;
113 InstanceHolder<mojom::EnterpriseReportingInstance> enterprise_reporting_; 115 InstanceHolder<mojom::EnterpriseReportingInstance> enterprise_reporting_;
114 InstanceHolder<mojom::FileSystemInstance> file_system_; 116 InstanceHolder<mojom::FileSystemInstance> file_system_;
115 InstanceHolder<mojom::ImeInstance> ime_; 117 InstanceHolder<mojom::ImeInstance> ime_;
116 InstanceHolder<mojom::IntentHelperInstance> intent_helper_; 118 InstanceHolder<mojom::IntentHelperInstance> intent_helper_;
117 InstanceHolder<mojom::KioskInstance> kiosk_; 119 InstanceHolder<mojom::KioskInstance> kiosk_;
118 InstanceHolder<mojom::MetricsInstance> metrics_; 120 InstanceHolder<mojom::MetricsInstance> metrics_;
119 InstanceHolder<mojom::NetInstance> net_; 121 InstanceHolder<mojom::NetInstance> net_;
120 InstanceHolder<mojom::NotificationsInstance> notifications_; 122 InstanceHolder<mojom::NotificationsInstance> notifications_;
121 InstanceHolder<mojom::ObbMounterInstance> obb_mounter_; 123 InstanceHolder<mojom::ObbMounterInstance> obb_mounter_;
122 InstanceHolder<mojom::PolicyInstance> policy_; 124 InstanceHolder<mojom::PolicyInstance> policy_;
123 InstanceHolder<mojom::PowerInstance> power_; 125 InstanceHolder<mojom::PowerInstance> power_;
124 InstanceHolder<mojom::PrintInstance> print_; 126 InstanceHolder<mojom::PrintInstance> print_;
125 InstanceHolder<mojom::ProcessInstance> process_; 127 InstanceHolder<mojom::ProcessInstance> process_;
126 InstanceHolder<mojom::StorageManagerInstance> storage_manager_; 128 InstanceHolder<mojom::StorageManagerInstance> storage_manager_;
129 InstanceHolder<mojom::TraceInstance> trace_;
127 InstanceHolder<mojom::TtsInstance> tts_; 130 InstanceHolder<mojom::TtsInstance> tts_;
128 InstanceHolder<mojom::VideoInstance> video_; 131 InstanceHolder<mojom::VideoInstance> video_;
129 InstanceHolder<mojom::WallpaperInstance> wallpaper_; 132 InstanceHolder<mojom::WallpaperInstance> wallpaper_;
130 133
131 DISALLOW_COPY_AND_ASSIGN(ArcBridgeService); 134 DISALLOW_COPY_AND_ASSIGN(ArcBridgeService);
132 }; 135 };
133 136
134 } // namespace arc 137 } // namespace arc
135 138
136 #endif // COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_ 139 #endif // COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698