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 b6d15385ad33b33aacab8999c882cf7467bc8529..0e44ff9994357271b2bec724db848905e4410b70 100644 |
--- a/device/bluetooth/test/bluetooth_test_mac.h |
+++ b/device/bluetooth/test/bluetooth_test_mac.h |
@@ -15,6 +15,9 @@ class BluetoothAdapterMac; |
// Mac implementation of BluetoothTestBase. |
class BluetoothTestMac : public BluetoothTestBase { |
public: |
+ static const std::string kTestPeripheralUUID1; |
+ static const std::string kTestPeripheralUUID2; |
+ |
BluetoothTestMac(); |
~BluetoothTestMac() override; |
@@ -22,11 +25,16 @@ class BluetoothTestMac : public BluetoothTestBase { |
void SetUp() override; |
// BluetoothTestBase overrides: |
+ bool PlatformSupportsLowEnergy() override; |
void InitWithDefaultAdapter() override; |
void InitWithoutDefaultAdapter() override; |
void InitWithFakeAdapter() override; |
+ void DiscoverLowEnergyDevice(int device_ordinal) override; |
protected: |
+ // Utility function for finding CBUUIDs with relatively nice SHA256 hashes. |
+ std::string FindCBUUIDForHashTarget(); |
+ |
BluetoothAdapterMac* adapter_mac_ = NULL; |
}; |