summaryrefslogtreecommitdiff
path: root/chromium/components/cryptauth/cryptauth_test_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/cryptauth/cryptauth_test_util.h')
-rw-r--r--chromium/components/cryptauth/cryptauth_test_util.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/chromium/components/cryptauth/cryptauth_test_util.h b/chromium/components/cryptauth/cryptauth_test_util.h
index 4c43b810e62..3ef00122a7f 100644
--- a/chromium/components/cryptauth/cryptauth_test_util.h
+++ b/chromium/components/cryptauth/cryptauth_test_util.h
@@ -15,14 +15,18 @@ extern const char kTestRemoteDeviceName[];
extern const char kTestRemoteDevicePublicKey[];
extern const char kTestRemoteDeviceBluetoothAddress[];
extern const char kTestRemoteDevicePSK[];
-extern const char kTestRemoteDeviceSignInChallenge[];
+extern const bool kTestRemoteDeviceUnlockKey;
+extern const bool kTestRemoteDeviceSupportsMobileHotspot;
+extern const int64_t kTestRemoteDeviceLastUpdateTimeMillis;
// Returns a BLE RemoteDevice used for tests.
inline RemoteDevice CreateLERemoteDeviceForTest() {
return RemoteDevice(kTestRemoteDeviceUserId, kTestRemoteDeviceName,
kTestRemoteDevicePublicKey,
kTestRemoteDeviceBluetoothAddress, kTestRemoteDevicePSK,
- kTestRemoteDeviceSignInChallenge);
+ kTestRemoteDeviceUnlockKey,
+ kTestRemoteDeviceSupportsMobileHotspot,
+ kTestRemoteDeviceLastUpdateTimeMillis);
}
// Returns a classic Bluetooth RemoteDevice used for tests.
@@ -30,7 +34,9 @@ inline RemoteDevice CreateClassicRemoteDeviceForTest() {
return RemoteDevice(kTestRemoteDeviceUserId, kTestRemoteDeviceName,
kTestRemoteDevicePublicKey,
kTestRemoteDeviceBluetoothAddress, kTestRemoteDevicePSK,
- kTestRemoteDeviceSignInChallenge);
+ kTestRemoteDeviceUnlockKey,
+ kTestRemoteDeviceSupportsMobileHotspot,
+ kTestRemoteDeviceLastUpdateTimeMillis);
}
} // namespace cryptauth