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

Unified Diff: components/proximity_auth/bluetooth_low_energy_connection_finder_unittest.cc

Issue 2849493002: [EasyUnlock] Fixing the setup connection finder and message format. (Closed)
Patch Set: date Created 3 years, 8 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/bluetooth_low_energy_connection_finder_unittest.cc
diff --git a/components/proximity_auth/bluetooth_low_energy_connection_finder_unittest.cc b/components/proximity_auth/bluetooth_low_energy_connection_finder_unittest.cc
index 709d506700de306634b9cb3b636d03426eb35e78..e596b8d661e4e85ced12f1ad98b732dfeef5c461 100644
--- a/components/proximity_auth/bluetooth_low_energy_connection_finder_unittest.cc
+++ b/components/proximity_auth/bluetooth_low_energy_connection_finder_unittest.cc
@@ -44,6 +44,7 @@ using device::MockBluetoothDevice;
namespace proximity_auth {
namespace {
+const char kBLEGattServiceUUID[] = "b3b7e28e-a000-3e17-bd86-6e97b9e28c11";
const char kAdvertisementUUID[] = "0000fe50-0000-1000-8000-00805f9b34fb";
const int8_t kRssi = -30;
const char kEidForPreviousTimeQuantum[] = "\x12\x34";
@@ -83,6 +84,7 @@ class MockBluetoothLowEnergyConnectionFinder
MockBluetoothLowEnergyConnectionFinder()
: BluetoothLowEnergyConnectionFinder(
cryptauth::CreateLERemoteDeviceForTest(),
+ kBLEGattServiceUUID,
CreateBeaconSeeds(),
base::MakeUnique<FakeEidGenerator>(this),
nullptr) {}

Powered by Google App Engine
This is Rietveld 408576698