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

Unified Diff: components/proximity_auth/proximity_auth_system_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/proximity_auth_system_unittest.cc
diff --git a/components/proximity_auth/proximity_auth_system_unittest.cc b/components/proximity_auth/proximity_auth_system_unittest.cc
index 45d17dbf7d690d12418d138926911cde5156500e..e89bb10421e4c6279957c511c07a8e7f3c0790ed 100644
--- a/components/proximity_auth/proximity_auth_system_unittest.cc
+++ b/components/proximity_auth/proximity_auth_system_unittest.cc
@@ -9,8 +9,10 @@
namespace proximity_auth {
TEST(ProximityAuthSystemTest, GetRemoteDevices) {
- RemoteDevice device1("device1", "public_key1", "bt_addr1", "psk1");
- RemoteDevice device2("device2", "public_key2", "bt_addr2", "psk2");
+ RemoteDevice device1("example@gmail.com", "device1", "public_key1",
+ "bt_addr1", "psk1");
+ RemoteDevice device2("example@gmail.com", "device2", "public_key2",
+ "bt_addr2", "psk2");
std::vector<RemoteDevice> device_list;
device_list.push_back(device1);

Powered by Google App Engine
This is Rietveld 408576698