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

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: 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: 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..b525090f48bd802bb3e01efb73befa6ebeff9dff 100644
--- a/chromeos/components/tether/ble_scanner_unittest.cc
+++ b/chromeos/components/tether/ble_scanner_unittest.cc
@@ -7,6 +7,7 @@
#include "base/logging.h"
#include "chromeos/components/tether/ble_constants.h"
#include "chromeos/components/tether/mock_local_device_data_provider.h"
+#include "components/cryptauth/eid_data_with_timestamp.h"
#include "components/cryptauth/mock_foreground_eid_generator.h"
#include "components/cryptauth/proto/cryptauth_api.pb.h"
#include "components/cryptauth/remote_device_test_util.h"
@@ -101,12 +102,11 @@ const int64_t fake_beacon_seed2_end_ms = adjacent_eid_end_ms;
std::unique_ptr<cryptauth::ForegroundEidGenerator::EidData>
CreateFakeBackgroundScanFilter() {
- cryptauth::ForegroundEidGenerator::DataWithTimestamp current(
+ cryptauth::EidDataWithTimestamp 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::EidDataWithTimestamp> adjacent =
+ base::MakeUnique<cryptauth::EidDataWithTimestamp>(
adjacent_eid_data, adjacent_eid_start_ms, adjacent_eid_end_ms);
return base::MakeUnique<cryptauth::ForegroundEidGenerator::EidData>(

Powered by Google App Engine
This is Rietveld 408576698