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..1f71297e6ecfda5308c238da9b9ff661de1a1bdb 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; |
@@ -25,8 +28,13 @@ class BluetoothTestMac : public BluetoothTestBase { |
void InitWithDefaultAdapter() override; |
void InitWithoutDefaultAdapter() override; |
void InitWithFakeAdapter() override; |
+ void DiscoverLowEnergyDevice(int device_ordinal) override; |
+ bool PlatformSupportsLowEnergy() override; |
protected: |
+ // Utility function for finding CBUUIDs with relatively nice SHA256 hashes. |
+ std::string FindCBUUIDForHashTarget(); |
+ |
BluetoothAdapterMac* adapter_mac_ = NULL; |
}; |