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 eeeb068d39ec2177e8438d92c337157ed646c037..bcd6ef672f409f081af646641615065321f40c0c 100644 |
--- a/device/bluetooth/test/bluetooth_test_win.h |
+++ b/device/bluetooth/test/bluetooth_test_win.h |
@@ -34,6 +34,16 @@ class BluetoothTestWin : public BluetoothTestBase { |
void SimulateGattServicesDiscovered( |
BluetoothDevice* device, |
const std::vector<std::string>& uuids) override; |
+ void SimulateGattServiceRemoved(BluetoothGattService* service) override; |
+ void SimulateGattCharacteristic(BluetoothGattService* service, |
+ const std::string& uuid, |
+ int properties) override; |
+ void SimulateGattCharacteristicRemoved( |
+ BluetoothGattService* service, |
+ BluetoothGattCharacteristic* characteristic) override; |
+ void SimulateIncludedGattServicesDiscovered( |
+ BluetoothGattService* service, |
+ const std::vector<std::string>& uuids) override; |
private: |
scoped_refptr<base::TestSimpleTaskRunner> ui_task_runner_; |
@@ -44,6 +54,9 @@ class BluetoothTestWin : public BluetoothTestBase { |
win::BluetoothLowEnergyWrapperFake* fake_bt_le_wrapper_; |
void AdapterInitCallback(); |
+ win::BLEGattService* GetSimulatedService(win::BLEDevice* device, |
+ BluetoothGattService* service); |
+ void ForceRefreshDevice(); |
}; |
// Defines common test fixture name. Use TEST_F(BluetoothTest, YourTestName). |