summaryrefslogtreecommitdiff
path: root/chromium/components/cryptauth/cryptauth_test_util.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-11-08 12:34:02 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-11-08 11:36:33 +0000
commitd702e4b6a64574e97fc7df8fe3238cde70242080 (patch)
tree3297e13ad4560b4c4a0d23dcd32724ff6ac2e3fe /chromium/components/cryptauth/cryptauth_test_util.h
parente6430e577f105ad8813c92e75c54660c4985026e (diff)
downloadqtwebengine-chromium-d702e4b6a64574e97fc7df8fe3238cde70242080.tar.gz
BASELINE: Update Chromium to 61.0.3163.140
Change-Id: I646c933139007f1fdc42e7a4073652f8e6e55b5a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
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