Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4182)

Unified Diff: components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder.h

Issue 1144333007: Adding unit tests for BLE connection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing compilation on OS X and Windows 2 Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder.h
diff --git a/components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder.h b/components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder.h
index da1a7bba0f148f4e0ddf14c0f6abd7b357a82780..9c95eeb8d1cc888d61e2a6f9791e0d9e08743a59 100644
--- a/components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder.h
+++ b/components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder.h
@@ -68,6 +68,9 @@ class BluetoothLowEnergyCharacteristicsFinder
device::BluetoothAdapter* adapter,
device::BluetoothGattCharacteristic* characteristic) override;
+ // For testing. Used to mock this class.
+ BluetoothLowEnergyCharacteristicsFinder();
+
private:
// Handles the discovery of a new characteristic.
void HandleCharacteristicUpdate(
« no previous file with comments | « components/proximity_auth/ble/BUILD.gn ('k') | components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698