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

Unified Diff: chromeos/components/tether/ble_scanner_unittest.cc

Issue 2847233003: [EasyUnlock] Move DataWithTimestamp out of ForegroundEidGenerator so it can be shared. (Closed)
Patch Set: fixes 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
« no previous file with comments | « chromeos/components/tether/ble_advertiser_unittest.cc ('k') | components/cryptauth/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/components/tether/ble_scanner_unittest.cc
diff --git a/chromeos/components/tether/ble_scanner_unittest.cc b/chromeos/components/tether/ble_scanner_unittest.cc
index 64a4efca6ec6de7754fb711bec950054f73b8e7f..b3292e380e31f6fd2f7965cbf99822a065755749 100644
--- a/chromeos/components/tether/ble_scanner_unittest.cc
+++ b/chromeos/components/tether/ble_scanner_unittest.cc
@@ -101,12 +101,11 @@ const int64_t fake_beacon_seed2_end_ms = adjacent_eid_end_ms;
std::unique_ptr<cryptauth::ForegroundEidGenerator::EidData>
CreateFakeBackgroundScanFilter() {
- cryptauth::ForegroundEidGenerator::DataWithTimestamp current(
- current_eid_data, current_eid_start_ms, current_eid_end_ms);
+ cryptauth::DataWithTimestamp current(current_eid_data, current_eid_start_ms,
+ current_eid_end_ms);
- std::unique_ptr<cryptauth::ForegroundEidGenerator::DataWithTimestamp>
- adjacent = base::MakeUnique<
- cryptauth::ForegroundEidGenerator::DataWithTimestamp>(
+ std::unique_ptr<cryptauth::DataWithTimestamp> adjacent =
+ base::MakeUnique<cryptauth::DataWithTimestamp>(
adjacent_eid_data, adjacent_eid_start_ms, adjacent_eid_end_ms);
return base::MakeUnique<cryptauth::ForegroundEidGenerator::EidData>(
« no previous file with comments | « chromeos/components/tether/ble_advertiser_unittest.cc ('k') | components/cryptauth/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698