Index: device/bluetooth/test/fake_peripheral.h |
diff --git a/device/bluetooth/test/fake_peripheral.h b/device/bluetooth/test/fake_peripheral.h |
index f7aaa88cb3e372413f0c472a273d464f2a57f256..cc9dad855e563977337f0777b9a5f40172e14d80 100644 |
--- a/device/bluetooth/test/fake_peripheral.h |
+++ b/device/bluetooth/test/fake_peripheral.h |
@@ -27,6 +27,9 @@ class FakePeripheral : public device::BluetoothDevice { |
// Set it to indicate if the Peripheral is connected or not. |
void SetGattConnected(bool gatt_connected); |
+ // Updates the peripheral's UUIDs. |
scheib
2017/05/09 23:33:54
... UUIDs that are returned by GetUUIDs.
ortuno
2017/05/10 06:32:50
Done.
|
+ void SetServiceUUIDs(UUIDSet service_uuids); |
+ |
// BluetoothDevice overrides: |
uint32_t GetBluetoothClass() const override; |
#if defined(OS_CHROMEOS) || defined(OS_LINUX) |
@@ -80,6 +83,7 @@ class FakePeripheral : public device::BluetoothDevice { |
const std::string address_; |
base::Optional<std::string> name_; |
bool gatt_connected_; |
+ UUIDSet service_uuids_; |
DISALLOW_COPY_AND_ASSIGN(FakePeripheral); |
}; |