Index: device/bluetooth/test/bluetooth_test_win.h |
diff --git a/device/bluetooth/test/bluetooth_test_win.h b/device/bluetooth/test/bluetooth_test_win.h |
index f159235c2e5d36b0c3ba05c6a126b07a8b4cd8fa..d87baccf31f7cb4ac760c7cc87a71125fc278b80 100644 |
--- a/device/bluetooth/test/bluetooth_test_win.h |
+++ b/device/bluetooth/test/bluetooth_test_win.h |
@@ -41,6 +41,8 @@ class BluetoothTestWin : public BluetoothTestBase { |
void SimulateGattCharacteristicRemoved( |
BluetoothGattService* service, |
BluetoothGattCharacteristic* characteristic) override; |
+ void SimulateGattDescriptor(BluetoothGattCharacteristic* characteristic, |
+ const std::string& uuid) override; |
private: |
scoped_refptr<base::TestSimpleTaskRunner> ui_task_runner_; |
@@ -51,9 +53,12 @@ class BluetoothTestWin : public BluetoothTestBase { |
win::BluetoothLowEnergyWrapperFake* fake_bt_le_wrapper_; |
void AdapterInitCallback(); |
- win::BLEGattService* GetSimulatedService(win::BLEDevice* device, |
- BluetoothGattService* service); |
+ win::GattService* GetSimulatedService(win::BLEDevice* device, |
+ BluetoothGattService* service); |
+ win::GattCharacteristic* GetSimulatedCharacteristic( |
+ BluetoothGattCharacteristic* characteristic); |
void ForceRefreshDevice(); |
+ void FinishPendingTasks(); |
}; |
// Defines common test fixture name. Use TEST_F(BluetoothTest, YourTestName). |