Index: device/bluetooth/test/bluetooth_test.h |
diff --git a/device/bluetooth/test/bluetooth_test.h b/device/bluetooth/test/bluetooth_test.h |
index 8778c00f77a47280def1c6cc4563cce53ad6b389..a5552da30e6ff5e505b4ad98bde62a0efc7ab53d 100644 |
--- a/device/bluetooth/test/bluetooth_test.h |
+++ b/device/bluetooth/test/bluetooth_test.h |
@@ -37,6 +37,14 @@ class BluetoothTestBase : public testing::Test { |
// controlled by this test fixture. |
virtual void InitWithFakeAdapter(){}; |
+ // Create a fake Low Energy device and discover it. |
+ // |device_ordinal| selects between multiple fake device data sets to produce. |
+ // 1: AA:00:00:00:00:01 with simple default values. |
+ // 2: AA:00:00:00:00:01 with different advertised Service UUIDs vs 1. |
+ // 3: AA:00:00:00:00:01 with empty name, empty UUIDs. |
+ // 4: BB:00:00:00:00:02 with empty name, empty UUIDs. |
+ virtual void DiscoverLowEnergyDevice(int device_ordinal){}; |
+ |
// Callbacks that increment |callback_count_|, |error_callback_count_|: |
void Callback(); |
void DiscoverySessionCallback(scoped_ptr<BluetoothDiscoverySession>); |