| OLD | NEW |
| 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 <iosfwd> | 8 #include <iosfwd> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 // instance classes here for faster build. | 30 // instance classes here for faster build. |
| 31 class AppInstance; | 31 class AppInstance; |
| 32 class AudioInstance; | 32 class AudioInstance; |
| 33 class AuthInstance; | 33 class AuthInstance; |
| 34 class BluetoothInstance; | 34 class BluetoothInstance; |
| 35 class BootPhaseMonitorInstance; | 35 class BootPhaseMonitorInstance; |
| 36 class ClipboardInstance; | 36 class ClipboardInstance; |
| 37 class CrashCollectorInstance; | 37 class CrashCollectorInstance; |
| 38 class EnterpriseReportingInstance; | 38 class EnterpriseReportingInstance; |
| 39 class FileSystemInstance; | 39 class FileSystemInstance; |
| 40 class FocusHighlightInstance; |
| 40 class ImeInstance; | 41 class ImeInstance; |
| 41 class IntentHelperInstance; | 42 class IntentHelperInstance; |
| 42 class KioskInstance; | 43 class KioskInstance; |
| 43 class MetricsInstance; | 44 class MetricsInstance; |
| 44 class NetInstance; | 45 class NetInstance; |
| 45 class NotificationsInstance; | 46 class NotificationsInstance; |
| 46 class ObbMounterInstance; | 47 class ObbMounterInstance; |
| 47 class PolicyInstance; | 48 class PolicyInstance; |
| 48 class PowerInstance; | 49 class PowerInstance; |
| 49 class PrintInstance; | 50 class PrintInstance; |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 InstanceHolder<mojom::ClipboardInstance>* clipboard() { return &clipboard_; } | 134 InstanceHolder<mojom::ClipboardInstance>* clipboard() { return &clipboard_; } |
| 134 InstanceHolder<mojom::CrashCollectorInstance>* crash_collector() { | 135 InstanceHolder<mojom::CrashCollectorInstance>* crash_collector() { |
| 135 return &crash_collector_; | 136 return &crash_collector_; |
| 136 } | 137 } |
| 137 InstanceHolder<mojom::EnterpriseReportingInstance>* enterprise_reporting() { | 138 InstanceHolder<mojom::EnterpriseReportingInstance>* enterprise_reporting() { |
| 138 return &enterprise_reporting_; | 139 return &enterprise_reporting_; |
| 139 } | 140 } |
| 140 InstanceHolder<mojom::FileSystemInstance>* file_system() { | 141 InstanceHolder<mojom::FileSystemInstance>* file_system() { |
| 141 return &file_system_; | 142 return &file_system_; |
| 142 } | 143 } |
| 144 InstanceHolder<mojom::FocusHighlightInstance>* focus_highlight() { |
| 145 return &focus_highlight_; |
| 146 } |
| 143 InstanceHolder<mojom::ImeInstance>* ime() { return &ime_; } | 147 InstanceHolder<mojom::ImeInstance>* ime() { return &ime_; } |
| 144 InstanceHolder<mojom::IntentHelperInstance>* intent_helper() { | 148 InstanceHolder<mojom::IntentHelperInstance>* intent_helper() { |
| 145 return &intent_helper_; | 149 return &intent_helper_; |
| 146 } | 150 } |
| 147 InstanceHolder<mojom::KioskInstance>* kiosk() { return &kiosk_; } | 151 InstanceHolder<mojom::KioskInstance>* kiosk() { return &kiosk_; } |
| 148 InstanceHolder<mojom::MetricsInstance>* metrics() { return &metrics_; } | 152 InstanceHolder<mojom::MetricsInstance>* metrics() { return &metrics_; } |
| 149 InstanceHolder<mojom::NetInstance>* net() { return &net_; } | 153 InstanceHolder<mojom::NetInstance>* net() { return &net_; } |
| 150 InstanceHolder<mojom::NotificationsInstance>* notifications() { | 154 InstanceHolder<mojom::NotificationsInstance>* notifications() { |
| 151 return ¬ifications_; | 155 return ¬ifications_; |
| 152 } | 156 } |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 // Instance holders. | 216 // Instance holders. |
| 213 InstanceHolder<mojom::AppInstance> app_; | 217 InstanceHolder<mojom::AppInstance> app_; |
| 214 InstanceHolder<mojom::AudioInstance> audio_; | 218 InstanceHolder<mojom::AudioInstance> audio_; |
| 215 InstanceHolder<mojom::AuthInstance> auth_; | 219 InstanceHolder<mojom::AuthInstance> auth_; |
| 216 InstanceHolder<mojom::BluetoothInstance> bluetooth_; | 220 InstanceHolder<mojom::BluetoothInstance> bluetooth_; |
| 217 InstanceHolder<mojom::BootPhaseMonitorInstance> boot_phase_monitor_; | 221 InstanceHolder<mojom::BootPhaseMonitorInstance> boot_phase_monitor_; |
| 218 InstanceHolder<mojom::ClipboardInstance> clipboard_; | 222 InstanceHolder<mojom::ClipboardInstance> clipboard_; |
| 219 InstanceHolder<mojom::CrashCollectorInstance> crash_collector_; | 223 InstanceHolder<mojom::CrashCollectorInstance> crash_collector_; |
| 220 InstanceHolder<mojom::EnterpriseReportingInstance> enterprise_reporting_; | 224 InstanceHolder<mojom::EnterpriseReportingInstance> enterprise_reporting_; |
| 221 InstanceHolder<mojom::FileSystemInstance> file_system_; | 225 InstanceHolder<mojom::FileSystemInstance> file_system_; |
| 226 InstanceHolder<mojom::FocusHighlightInstance> focus_highlight_; |
| 222 InstanceHolder<mojom::ImeInstance> ime_; | 227 InstanceHolder<mojom::ImeInstance> ime_; |
| 223 InstanceHolder<mojom::IntentHelperInstance> intent_helper_; | 228 InstanceHolder<mojom::IntentHelperInstance> intent_helper_; |
| 224 InstanceHolder<mojom::KioskInstance> kiosk_; | 229 InstanceHolder<mojom::KioskInstance> kiosk_; |
| 225 InstanceHolder<mojom::MetricsInstance> metrics_; | 230 InstanceHolder<mojom::MetricsInstance> metrics_; |
| 226 InstanceHolder<mojom::NetInstance> net_; | 231 InstanceHolder<mojom::NetInstance> net_; |
| 227 InstanceHolder<mojom::NotificationsInstance> notifications_; | 232 InstanceHolder<mojom::NotificationsInstance> notifications_; |
| 228 InstanceHolder<mojom::ObbMounterInstance> obb_mounter_; | 233 InstanceHolder<mojom::ObbMounterInstance> obb_mounter_; |
| 229 InstanceHolder<mojom::PolicyInstance> policy_; | 234 InstanceHolder<mojom::PolicyInstance> policy_; |
| 230 InstanceHolder<mojom::PowerInstance> power_; | 235 InstanceHolder<mojom::PowerInstance> power_; |
| 231 InstanceHolder<mojom::PrintInstance> print_; | 236 InstanceHolder<mojom::PrintInstance> print_; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 DISALLOW_COPY_AND_ASSIGN(ArcBridgeService); | 280 DISALLOW_COPY_AND_ASSIGN(ArcBridgeService); |
| 276 }; | 281 }; |
| 277 | 282 |
| 278 // Defines "<<" operator for LOGging purpose. | 283 // Defines "<<" operator for LOGging purpose. |
| 279 std::ostream& operator<<( | 284 std::ostream& operator<<( |
| 280 std::ostream& os, ArcBridgeService::StopReason reason); | 285 std::ostream& os, ArcBridgeService::StopReason reason); |
| 281 | 286 |
| 282 } // namespace arc | 287 } // namespace arc |
| 283 | 288 |
| 284 #endif // COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_ | 289 #endif // COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_ |
| OLD | NEW |