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

Unified Diff: components/proximity_auth/bluetooth_connection_finder_unittest.cc

Issue 1356943004: Add RemoteDeviceLoader to create RemoteDevice from CryptAuth data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webui
Patch Set: Created 5 years, 3 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_connection_finder_unittest.cc
diff --git a/components/proximity_auth/bluetooth_connection_finder_unittest.cc b/components/proximity_auth/bluetooth_connection_finder_unittest.cc
index 393f73478a2ad436d5ef8ec24af614658158e751..09c05019602b74fb838d1368fb4c3cb18f796253 100644
--- a/components/proximity_auth/bluetooth_connection_finder_unittest.cc
+++ b/components/proximity_auth/bluetooth_connection_finder_unittest.cc
@@ -27,6 +27,7 @@ using testing::StrictMock;
namespace proximity_auth {
namespace {
+const char kDeviceUserId[] = "example@gmail.com";
const char kDeviceName[] = "Device name";
const char kPublicKey[] = "Public key";
const char kBluetoothAddress[] = "11:22:33:44:55:66";
@@ -35,7 +36,7 @@ const char kPersistentSymmetricKey[] = "PSK";
const char kUuid[] = "DEADBEEF-CAFE-FEED-FOOD-D15EA5EBEEF";
RemoteDevice CreateRemoteDevice() {
- return RemoteDevice(kDeviceName, kPublicKey, kBluetoothAddress,
+ return RemoteDevice(kDeviceUserId, kDeviceName, kPublicKey, kBluetoothAddress,
kPersistentSymmetricKey);
}

Powered by Google App Engine
This is Rietveld 408576698