| Index: device/bluetooth/test/bluetooth_test_mac.h
|
| diff --git a/device/bluetooth/test/bluetooth_test_mac.h b/device/bluetooth/test/bluetooth_test_mac.h
|
| index d4db9809a04bc87f3c7e0fd472fe40de6eee53f0..46e168a4d7c103432301130a05f5c1e113bd6085 100644
|
| --- a/device/bluetooth/test/bluetooth_test_mac.h
|
| +++ b/device/bluetooth/test/bluetooth_test_mac.h
|
| @@ -113,6 +113,8 @@ class BluetoothTestMac : public BluetoothTestBase {
|
| protected:
|
| class ScopedMockCentralManager;
|
|
|
| + // Returns MockCBPeripheral from BluetoothDevice.
|
| + MockCBPeripheral* GetMockCBPeripheral(BluetoothDevice* device) const;
|
| // Returns MockCBPeripheral from BluetoothRemoteGattService.
|
| MockCBPeripheral* GetMockCBPeripheral(
|
| BluetoothRemoteGattService* service) const;
|
| @@ -122,6 +124,9 @@ class BluetoothTestMac : public BluetoothTestBase {
|
| // Returns MockCBCharacteristic from BluetoothRemoteGattCharacteristic.
|
| MockCBCharacteristic* GetCBMockCharacteristic(
|
| BluetoothRemoteGattCharacteristic* characteristic) const;
|
| + // Adds services in MockCBPeripheral.
|
| + void AddServicesToDevice(BluetoothDevice* device,
|
| + const std::vector<std::string>& uuids);
|
|
|
| // Utility function for finding CBUUIDs with relatively nice SHA256 hashes.
|
| std::string FindCBUUIDForHashTarget();
|
|
|