| Index: components/proximity_auth/proximity_monitor_impl_unittest.cc
|
| diff --git a/components/proximity_auth/proximity_monitor_impl_unittest.cc b/components/proximity_auth/proximity_monitor_impl_unittest.cc
|
| index 12f74ed15b9f741a2d363e589efa1396a34a953d..a1784539de170f851e447a4213e08a1193056136 100644
|
| --- a/components/proximity_auth/proximity_monitor_impl_unittest.cc
|
| +++ b/components/proximity_auth/proximity_monitor_impl_unittest.cc
|
| @@ -29,6 +29,7 @@ using testing::SaveArg;
|
| namespace proximity_auth {
|
| namespace {
|
|
|
| +const char kRemoteDeviceUserId[] = "example@gmail.com";
|
| const char kBluetoothAddress[] = "AA:BB:CC:DD:EE:FF";
|
| const char kRemoteDevicePublicKey[] = "Remote Public Key";
|
| const char kRemoteDeviceName[] = "LGE Nexus 5";
|
| @@ -82,7 +83,8 @@ class ProximityAuthProximityMonitorImplTest : public testing::Test {
|
| kBluetoothAddress,
|
| false /* paired */,
|
| true /* connected */),
|
| - monitor_(RemoteDevice(kRemoteDeviceName,
|
| + monitor_(RemoteDevice(kRemoteDeviceUserId,
|
| + kRemoteDeviceName,
|
| kRemoteDevicePublicKey,
|
| kBluetoothAddress,
|
| kPersistentSymmetricKey),
|
| @@ -534,8 +536,8 @@ TEST_F(ProximityAuthProximityMonitorImplTest,
|
| RecordProximityMetricsOnAuthSuccess_UnknownValues) {
|
| // Note: A device without a recorded name will have its Bluetooth address as
|
| // its name.
|
| - RemoteDevice unnamed_remote_device(kBluetoothAddress, kRemoteDevicePublicKey,
|
| - kBluetoothAddress,
|
| + RemoteDevice unnamed_remote_device(kRemoteDeviceUserId, kBluetoothAddress,
|
| + kRemoteDevicePublicKey, kBluetoothAddress,
|
| kPersistentSymmetricKey);
|
|
|
| scoped_ptr<base::TickClock> clock(new base::SimpleTestTickClock());
|
|
|