Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Unified Diff: chromeos/dbus/fake_dbus_thread_manager.h

Issue 206443009: chromeos/dbus: Add fake D-Bus clients for GATT client-mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/fake_bluetooth_gatt_service_client.cc ('k') | chromeos/dbus/fake_dbus_thread_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_dbus_thread_manager.h
diff --git a/chromeos/dbus/fake_dbus_thread_manager.h b/chromeos/dbus/fake_dbus_thread_manager.h
index 74ab40d8f6c17f4c3065b42de60d57640e95b27b..7a3ae7a3e438cc29f0cdb7486b99753dd4d284b0 100644
--- a/chromeos/dbus/fake_dbus_thread_manager.h
+++ b/chromeos/dbus/fake_dbus_thread_manager.h
@@ -41,6 +41,12 @@ class CHROMEOS_EXPORT FakeDBusThreadManager : public DBusThreadManager {
void SetBluetoothAgentManagerClient(
scoped_ptr<BluetoothAgentManagerClient> client);
void SetBluetoothDeviceClient(scoped_ptr<BluetoothDeviceClient> client);
+ void SetBluetoothGattCharacteristicClient(
+ scoped_ptr<BluetoothGattCharacteristicClient> client);
+ void SetBluetoothGattDescriptorClient(
+ scoped_ptr<BluetoothGattDescriptorClient> client);
+ void SetBluetoothGattServiceClient(
+ scoped_ptr<BluetoothGattServiceClient> client);
void SetBluetoothInputClient(scoped_ptr<BluetoothInputClient> client);
void SetBluetoothProfileManagerClient(
scoped_ptr<BluetoothProfileManagerClient> client);
@@ -78,6 +84,11 @@ class CHROMEOS_EXPORT FakeDBusThreadManager : public DBusThreadManager {
virtual BluetoothAgentManagerClient*
GetBluetoothAgentManagerClient() OVERRIDE;
virtual BluetoothDeviceClient* GetBluetoothDeviceClient() OVERRIDE;
+ virtual BluetoothGattCharacteristicClient*
+ GetBluetoothGattCharacteristicClient() OVERRIDE;
+ virtual BluetoothGattDescriptorClient*
+ GetBluetoothGattDescriptorClient() OVERRIDE;
+ virtual BluetoothGattServiceClient* GetBluetoothGattServiceClient() OVERRIDE;
virtual BluetoothInputClient* GetBluetoothInputClient() OVERRIDE;
virtual BluetoothProfileManagerClient*
GetBluetoothProfileManagerClient() OVERRIDE;
@@ -115,6 +126,11 @@ class CHROMEOS_EXPORT FakeDBusThreadManager : public DBusThreadManager {
scoped_ptr<BluetoothAdapterClient> bluetooth_adapter_client_;
scoped_ptr<BluetoothAgentManagerClient> bluetooth_agent_manager_client_;
scoped_ptr<BluetoothDeviceClient> bluetooth_device_client_;
+ scoped_ptr<BluetoothGattCharacteristicClient>
+ bluetooth_gatt_characteristic_client_;
+ scoped_ptr<BluetoothGattDescriptorClient>
+ bluetooth_gatt_descriptor_client_;
+ scoped_ptr<BluetoothGattServiceClient> bluetooth_gatt_service_client_;
scoped_ptr<BluetoothInputClient> bluetooth_input_client_;
scoped_ptr<BluetoothProfileManagerClient> bluetooth_profile_manager_client_;
scoped_ptr<CrasAudioClient> cras_audio_client_;
« no previous file with comments | « chromeos/dbus/fake_bluetooth_gatt_service_client.cc ('k') | chromeos/dbus/fake_dbus_thread_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698