OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
hashimoto
2015/02/05 09:51:11
Nice cleanup, but I think this part is out of this
| |
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> | |
9 | |
8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
9 #include "chromeos/chromeos_export.h" | 11 #include "chromeos/chromeos_export.h" |
10 | 12 |
11 namespace chromeos { | 13 namespace chromeos { |
12 | 14 |
13 class BluetoothAdapterClient; | 15 class BluetoothAdapterClient; |
14 class BluetoothAgentManagerClient; | 16 class BluetoothAgentManagerClient; |
15 class BluetoothDeviceClient; | 17 class BluetoothDeviceClient; |
16 class BluetoothGattCharacteristicClient; | 18 class BluetoothGattCharacteristicClient; |
17 class BluetoothGattDescriptorClient; | 19 class BluetoothGattDescriptorClient; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
112 BluetoothDeviceClient* bluetooth_device_client() { | 114 BluetoothDeviceClient* bluetooth_device_client() { |
113 return bluetooth_device_client_.get(); | 115 return bluetooth_device_client_.get(); |
114 } | 116 } |
115 | 117 |
116 BluetoothGattCharacteristicClient* bluetooth_gatt_characteristic_client() { | 118 BluetoothGattCharacteristicClient* bluetooth_gatt_characteristic_client() { |
117 return bluetooth_gatt_characteristic_client_.get(); | 119 return bluetooth_gatt_characteristic_client_.get(); |
118 } | 120 } |
119 | 121 |
120 BluetoothGattDescriptorClient* bluetooth_gatt_descriptor_client() { | 122 BluetoothGattDescriptorClient* bluetooth_gatt_descriptor_client() { |
121 return bluetooth_gatt_descriptor_client_.get(); | 123 return bluetooth_gatt_descriptor_client_.get(); |
124 } | |
122 | 125 |
123 } | |
124 BluetoothGattManagerClient* bluetooth_gatt_manager_client() { | 126 BluetoothGattManagerClient* bluetooth_gatt_manager_client() { |
125 return bluetooth_gatt_manager_client_.get(); | 127 return bluetooth_gatt_manager_client_.get(); |
126 } | 128 } |
127 | 129 |
128 BluetoothGattServiceClient* bluetooth_gatt_service_client() { | 130 BluetoothGattServiceClient* bluetooth_gatt_service_client() { |
129 return bluetooth_gatt_service_client_.get(); | 131 return bluetooth_gatt_service_client_.get(); |
130 } | 132 } |
131 | 133 |
132 BluetoothInputClient* bluetooth_input_client() { | 134 BluetoothInputClient* bluetooth_input_client() { |
133 return bluetooth_input_client_.get(); | 135 return bluetooth_input_client_.get(); |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
312 scoped_ptr<SessionManagerClient> session_manager_client_; | 314 scoped_ptr<SessionManagerClient> session_manager_client_; |
313 scoped_ptr<SMSClient> sms_client_; | 315 scoped_ptr<SMSClient> sms_client_; |
314 scoped_ptr<UpdateEngineClient> update_engine_client_; | 316 scoped_ptr<UpdateEngineClient> update_engine_client_; |
315 | 317 |
316 DISALLOW_COPY_AND_ASSIGN(DBusClientBundle); | 318 DISALLOW_COPY_AND_ASSIGN(DBusClientBundle); |
317 }; | 319 }; |
318 | 320 |
319 } // namespace chromeos | 321 } // namespace chromeos |
320 | 322 |
321 #endif // CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ | 323 #endif // CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ |
OLD | NEW |