Index: chromeos/dbus/fake_dbus_thread_manager.cc |
diff --git a/chromeos/dbus/fake_dbus_thread_manager.cc b/chromeos/dbus/fake_dbus_thread_manager.cc |
index b5bb7879c2c950c106a09d1cd72a371574a9432a..467178b4d87f8f82eaef6d5b35bb02d491990485 100644 |
--- a/chromeos/dbus/fake_dbus_thread_manager.cc |
+++ b/chromeos/dbus/fake_dbus_thread_manager.cc |
@@ -14,6 +14,9 @@ |
#include "chromeos/dbus/fake_bluetooth_adapter_client.h" |
#include "chromeos/dbus/fake_bluetooth_agent_manager_client.h" |
#include "chromeos/dbus/fake_bluetooth_device_client.h" |
+#include "chromeos/dbus/fake_bluetooth_gatt_characteristic_client.h" |
+#include "chromeos/dbus/fake_bluetooth_gatt_descriptor_client.h" |
+#include "chromeos/dbus/fake_bluetooth_gatt_service_client.h" |
#include "chromeos/dbus/fake_bluetooth_input_client.h" |
#include "chromeos/dbus/fake_bluetooth_profile_manager_client.h" |
#include "chromeos/dbus/fake_cryptohome_client.h" |
@@ -59,6 +62,13 @@ void FakeDBusThreadManager::SetFakeClients() { |
new FakeBluetoothAgentManagerClient)); |
SetBluetoothDeviceClient( |
scoped_ptr<BluetoothDeviceClient>(new FakeBluetoothDeviceClient)); |
+ SetBluetoothGattCharacteristicClient( |
+ scoped_ptr<BluetoothGattCharacteristicClient>( |
+ new FakeBluetoothGattCharacteristicClient)); |
+ SetBluetoothGattDescriptorClient(scoped_ptr<BluetoothGattDescriptorClient>( |
+ new FakeBluetoothGattDescriptorClient)); |
+ SetBluetoothGattServiceClient(scoped_ptr<BluetoothGattServiceClient>( |
+ new FakeBluetoothGattServiceClient)); |
SetBluetoothInputClient( |
scoped_ptr<BluetoothInputClient>(new FakeBluetoothInputClient)); |
SetBluetoothProfileManagerClient(scoped_ptr<BluetoothProfileManagerClient>( |
@@ -139,6 +149,21 @@ void FakeDBusThreadManager::SetBluetoothDeviceClient( |
bluetooth_device_client_ = client.Pass(); |
} |
+void FakeDBusThreadManager::SetBluetoothGattCharacteristicClient( |
+ scoped_ptr<BluetoothGattCharacteristicClient> client) { |
+ bluetooth_gatt_characteristic_client_ = client.Pass(); |
+} |
+ |
+void FakeDBusThreadManager::SetBluetoothGattDescriptorClient( |
+ scoped_ptr<BluetoothGattDescriptorClient> client) { |
+ bluetooth_gatt_descriptor_client_ = client.Pass(); |
+} |
+ |
+void FakeDBusThreadManager::SetBluetoothGattServiceClient( |
+ scoped_ptr<BluetoothGattServiceClient> client) { |
+ bluetooth_gatt_service_client_ = client.Pass(); |
+} |
+ |
void FakeDBusThreadManager::SetBluetoothInputClient( |
scoped_ptr<BluetoothInputClient> client) { |
bluetooth_input_client_ = client.Pass(); |
@@ -304,6 +329,21 @@ BluetoothDeviceClient* |
return bluetooth_device_client_.get(); |
} |
+BluetoothGattCharacteristicClient* |
+ FakeDBusThreadManager::GetBluetoothGattCharacteristicClient() { |
+ return bluetooth_gatt_characteristic_client_.get(); |
+} |
+ |
+BluetoothGattDescriptorClient* |
+ FakeDBusThreadManager::GetBluetoothGattDescriptorClient() { |
+ return bluetooth_gatt_descriptor_client_.get(); |
+} |
+ |
+BluetoothGattServiceClient* |
+ FakeDBusThreadManager::GetBluetoothGattServiceClient() { |
+ return bluetooth_gatt_service_client_.get(); |
+} |
+ |
BluetoothInputClient* |
FakeDBusThreadManager::GetBluetoothInputClient() { |
return bluetooth_input_client_.get(); |