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

Unified Diff: components/cryptauth/background_eid_generator.cc

Issue 2844743002: Revert of [EasyUnlock] Update BluetoothLowEnergyConnectionFinder to look for EIDs. (Closed)
Patch Set: Created 3 years, 8 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/background_eid_generator.cc
diff --git a/components/cryptauth/background_eid_generator.cc b/components/cryptauth/background_eid_generator.cc
index 1103e8cba45c9c9676679b41c16b3cf6b76f2104..07549655a4e3db649a3d3e2369ad45b0ad4e5585 100644
--- a/components/cryptauth/background_eid_generator.cc
+++ b/components/cryptauth/background_eid_generator.cc
@@ -20,7 +20,7 @@
namespace {
// The duration of a EID period in milliseconds.
-const int64_t kEidPeriodMs = 15 * 60 * 1000; // 15 minutes
+const int64_t kEidPeriodMs = base::TimeDelta::FromMinutes(15).InMilliseconds();
// The number of periods to look forward and backwards when calculating the
// neartest EIDs.
« no previous file with comments | « chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc ('k') | components/proximity_auth/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698