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 "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "chromeos/chromeos_export.h" | 9 #include "chromeos/chromeos_export.h" |
10 | 10 |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 | 223 |
224 SMSClient* sms_client() { | 224 SMSClient* sms_client() { |
225 return sms_client_.get(); | 225 return sms_client_.get(); |
226 } | 226 } |
227 | 227 |
228 UpdateEngineClient* update_engine_client() { | 228 UpdateEngineClient* update_engine_client() { |
229 return update_engine_client_.get(); | 229 return update_engine_client_.get(); |
230 } | 230 } |
231 | 231 |
232 private: | 232 private: |
| 233 friend class DBusThreadManagerTestHelper; |
| 234 |
233 scoped_ptr<BluetoothAdapterClient> bluetooth_adapter_client_; | 235 scoped_ptr<BluetoothAdapterClient> bluetooth_adapter_client_; |
234 scoped_ptr<BluetoothAgentManagerClient> bluetooth_agent_manager_client_; | 236 scoped_ptr<BluetoothAgentManagerClient> bluetooth_agent_manager_client_; |
235 scoped_ptr<BluetoothDeviceClient> bluetooth_device_client_; | 237 scoped_ptr<BluetoothDeviceClient> bluetooth_device_client_; |
236 scoped_ptr<BluetoothGattCharacteristicClient> | 238 scoped_ptr<BluetoothGattCharacteristicClient> |
237 bluetooth_gatt_characteristic_client_; | 239 bluetooth_gatt_characteristic_client_; |
238 scoped_ptr<BluetoothGattDescriptorClient> bluetooth_gatt_descriptor_client_; | 240 scoped_ptr<BluetoothGattDescriptorClient> bluetooth_gatt_descriptor_client_; |
239 scoped_ptr<BluetoothGattManagerClient> bluetooth_gatt_manager_client_; | 241 scoped_ptr<BluetoothGattManagerClient> bluetooth_gatt_manager_client_; |
240 scoped_ptr<BluetoothGattServiceClient> bluetooth_gatt_service_client_; | 242 scoped_ptr<BluetoothGattServiceClient> bluetooth_gatt_service_client_; |
241 scoped_ptr<BluetoothInputClient> bluetooth_input_client_; | 243 scoped_ptr<BluetoothInputClient> bluetooth_input_client_; |
242 scoped_ptr<BluetoothProfileManagerClient> bluetooth_profile_manager_client_; | 244 scoped_ptr<BluetoothProfileManagerClient> bluetooth_profile_manager_client_; |
(...skipping 25 matching lines...) Expand all Loading... |
268 scoped_ptr<SessionManagerClient> session_manager_client_; | 270 scoped_ptr<SessionManagerClient> session_manager_client_; |
269 scoped_ptr<SMSClient> sms_client_; | 271 scoped_ptr<SMSClient> sms_client_; |
270 scoped_ptr<UpdateEngineClient> update_engine_client_; | 272 scoped_ptr<UpdateEngineClient> update_engine_client_; |
271 | 273 |
272 DISALLOW_COPY_AND_ASSIGN(DBusClientBundle); | 274 DISALLOW_COPY_AND_ASSIGN(DBusClientBundle); |
273 }; | 275 }; |
274 | 276 |
275 } // namespace chromeos | 277 } // namespace chromeos |
276 | 278 |
277 #endif // CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ | 279 #endif // CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ |
OLD | NEW |