| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ | 5 #ifndef CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ |
| 6 #define CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ | 6 #define CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "chromeos/chromeos_export.h" | 11 #include "chromeos/chromeos_export.h" |
| 12 | 12 |
| 13 namespace chromeos { | 13 namespace chromeos { |
| 14 | 14 |
| 15 class AmplifierClient; | 15 class AmplifierClient; |
| 16 class ApManagerClient; | 16 class ApManagerClient; |
| 17 class AudioDspClient; | 17 class AudioDspClient; |
| 18 class BluetoothAdapterClient; | 18 class BluetoothAdapterClient; |
| 19 class BluetoothAdvertisementManagerClient; |
| 19 class BluetoothAgentManagerClient; | 20 class BluetoothAgentManagerClient; |
| 20 class BluetoothDeviceClient; | 21 class BluetoothDeviceClient; |
| 21 class BluetoothGattCharacteristicClient; | 22 class BluetoothGattCharacteristicClient; |
| 22 class BluetoothGattDescriptorClient; | 23 class BluetoothGattDescriptorClient; |
| 23 class BluetoothGattManagerClient; | 24 class BluetoothGattManagerClient; |
| 24 class BluetoothGattServiceClient; | 25 class BluetoothGattServiceClient; |
| 25 class BluetoothInputClient; | 26 class BluetoothInputClient; |
| 26 class BluetoothMediaClient; | 27 class BluetoothMediaClient; |
| 27 class BluetoothMediaTransportClient; | 28 class BluetoothMediaTransportClient; |
| 28 class BluetoothProfileManagerClient; | 29 class BluetoothProfileManagerClient; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 AmplifierClient* amplifier_client() { return amplifier_client_.get(); } | 117 AmplifierClient* amplifier_client() { return amplifier_client_.get(); } |
| 117 | 118 |
| 118 ApManagerClient* ap_manager_client() { return ap_manager_client_.get(); } | 119 ApManagerClient* ap_manager_client() { return ap_manager_client_.get(); } |
| 119 | 120 |
| 120 AudioDspClient* audio_dsp_client() { return audio_dsp_client_.get(); } | 121 AudioDspClient* audio_dsp_client() { return audio_dsp_client_.get(); } |
| 121 | 122 |
| 122 BluetoothAdapterClient* bluetooth_adapter_client() { | 123 BluetoothAdapterClient* bluetooth_adapter_client() { |
| 123 return bluetooth_adapter_client_.get(); | 124 return bluetooth_adapter_client_.get(); |
| 124 } | 125 } |
| 125 | 126 |
| 127 BluetoothAdvertisementManagerClient* |
| 128 bluetooth_advertisement_manager_client() { |
| 129 return bluetooth_advertisement_manager_client_.get(); |
| 130 } |
| 131 |
| 126 BluetoothAgentManagerClient* bluetooth_agent_manager_client() { | 132 BluetoothAgentManagerClient* bluetooth_agent_manager_client() { |
| 127 return bluetooth_agent_manager_client_.get(); | 133 return bluetooth_agent_manager_client_.get(); |
| 128 } | 134 } |
| 129 | 135 |
| 130 BluetoothDeviceClient* bluetooth_device_client() { | 136 BluetoothDeviceClient* bluetooth_device_client() { |
| 131 return bluetooth_device_client_.get(); | 137 return bluetooth_device_client_.get(); |
| 132 } | 138 } |
| 133 | 139 |
| 134 BluetoothGattCharacteristicClient* bluetooth_gatt_characteristic_client() { | 140 BluetoothGattCharacteristicClient* bluetooth_gatt_characteristic_client() { |
| 135 return bluetooth_gatt_characteristic_client_.get(); | 141 return bluetooth_gatt_characteristic_client_.get(); |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 friend class DBusThreadManagerSetter; | 295 friend class DBusThreadManagerSetter; |
| 290 | 296 |
| 291 // Bitmask that defines which dbus clients are not stubbed out. Bitmap flags | 297 // Bitmask that defines which dbus clients are not stubbed out. Bitmap flags |
| 292 // are defined within DBusClientType enum. | 298 // are defined within DBusClientType enum. |
| 293 DBusClientTypeMask unstub_client_mask_; | 299 DBusClientTypeMask unstub_client_mask_; |
| 294 | 300 |
| 295 scoped_ptr<AmplifierClient> amplifier_client_; | 301 scoped_ptr<AmplifierClient> amplifier_client_; |
| 296 scoped_ptr<ApManagerClient> ap_manager_client_; | 302 scoped_ptr<ApManagerClient> ap_manager_client_; |
| 297 scoped_ptr<AudioDspClient> audio_dsp_client_; | 303 scoped_ptr<AudioDspClient> audio_dsp_client_; |
| 298 scoped_ptr<BluetoothAdapterClient> bluetooth_adapter_client_; | 304 scoped_ptr<BluetoothAdapterClient> bluetooth_adapter_client_; |
| 305 scoped_ptr<BluetoothAdvertisementManagerClient> |
| 306 bluetooth_advertisement_manager_client_; |
| 299 scoped_ptr<BluetoothAgentManagerClient> bluetooth_agent_manager_client_; | 307 scoped_ptr<BluetoothAgentManagerClient> bluetooth_agent_manager_client_; |
| 300 scoped_ptr<BluetoothDeviceClient> bluetooth_device_client_; | 308 scoped_ptr<BluetoothDeviceClient> bluetooth_device_client_; |
| 301 scoped_ptr<BluetoothGattCharacteristicClient> | 309 scoped_ptr<BluetoothGattCharacteristicClient> |
| 302 bluetooth_gatt_characteristic_client_; | 310 bluetooth_gatt_characteristic_client_; |
| 303 scoped_ptr<BluetoothGattDescriptorClient> bluetooth_gatt_descriptor_client_; | 311 scoped_ptr<BluetoothGattDescriptorClient> bluetooth_gatt_descriptor_client_; |
| 304 scoped_ptr<BluetoothGattManagerClient> bluetooth_gatt_manager_client_; | 312 scoped_ptr<BluetoothGattManagerClient> bluetooth_gatt_manager_client_; |
| 305 scoped_ptr<BluetoothGattServiceClient> bluetooth_gatt_service_client_; | 313 scoped_ptr<BluetoothGattServiceClient> bluetooth_gatt_service_client_; |
| 306 scoped_ptr<BluetoothInputClient> bluetooth_input_client_; | 314 scoped_ptr<BluetoothInputClient> bluetooth_input_client_; |
| 307 scoped_ptr<BluetoothMediaClient> bluetooth_media_client_; | 315 scoped_ptr<BluetoothMediaClient> bluetooth_media_client_; |
| 308 scoped_ptr<BluetoothMediaTransportClient> bluetooth_media_transport_client_; | 316 scoped_ptr<BluetoothMediaTransportClient> bluetooth_media_transport_client_; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 scoped_ptr<SessionManagerClient> session_manager_client_; | 349 scoped_ptr<SessionManagerClient> session_manager_client_; |
| 342 scoped_ptr<SMSClient> sms_client_; | 350 scoped_ptr<SMSClient> sms_client_; |
| 343 scoped_ptr<UpdateEngineClient> update_engine_client_; | 351 scoped_ptr<UpdateEngineClient> update_engine_client_; |
| 344 | 352 |
| 345 DISALLOW_COPY_AND_ASSIGN(DBusClientBundle); | 353 DISALLOW_COPY_AND_ASSIGN(DBusClientBundle); |
| 346 }; | 354 }; |
| 347 | 355 |
| 348 } // namespace chromeos | 356 } // namespace chromeos |
| 349 | 357 |
| 350 #endif // CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ | 358 #endif // CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ |
| OLD | NEW |