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

Unified Diff: components/cryptauth/remote_device.cc

Issue 2859053003: [EasyUnlock] Add beacon_seeds to RemoteDevice. (Closed)
Patch Set: fixes Created 3 years, 7 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/cryptauth/remote_device.cc
diff --git a/components/cryptauth/remote_device.cc b/components/cryptauth/remote_device.cc
index 19665df742a95b4edba9531b4c92e17c59265e06..5a9316c834405cf65c8f9126816a2720d0ad1074 100644
--- a/components/cryptauth/remote_device.cc
+++ b/components/cryptauth/remote_device.cc
@@ -38,6 +38,8 @@ std::string RemoteDevice::GetTruncatedDeviceIdForLogs() const {
}
bool RemoteDevice::operator==(const RemoteDevice& other) const {
+ // Note: We don't compare the |beacon_seeds| for equality as they may not be
+ // present.
return user_id == other.user_id
&& name == other.name
&& public_key == other.public_key

Powered by Google App Engine
This is Rietveld 408576698