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

Unified Diff: components/cryptauth/mock_foreground_eid_generator.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
Index: components/cryptauth/mock_foreground_eid_generator.cc
diff --git a/components/cryptauth/mock_foreground_eid_generator.cc b/components/cryptauth/mock_foreground_eid_generator.cc
index 60fc35958c1ae8b48d9e0ca138bf3c91904829e8..0dc949cd522d3bba95e34b389b141134a4a5497e 100644
--- a/components/cryptauth/mock_foreground_eid_generator.cc
+++ b/components/cryptauth/mock_foreground_eid_generator.cc
@@ -24,7 +24,7 @@ MockForegroundEidGenerator::GenerateBackgroundScanFilter(
return nullptr;
}
- std::unique_ptr<ForegroundEidGenerator::DataWithTimestamp> adjacent_data;
+ std::unique_ptr<DataWithTimestamp> adjacent_data;
if (background_scan_filter_->adjacent_data) {
adjacent_data = base::MakeUnique<DataWithTimestamp>(
background_scan_filter_->adjacent_data->data,
@@ -36,7 +36,7 @@ MockForegroundEidGenerator::GenerateBackgroundScanFilter(
std::move(adjacent_data));
}
-std::unique_ptr<ForegroundEidGenerator::DataWithTimestamp>
+std::unique_ptr<DataWithTimestamp>
MockForegroundEidGenerator::GenerateAdvertisement(
const std::string& advertising_device_public_key,
const std::vector<BeaconSeed>& scanning_device_beacon_seeds) const {

Powered by Google App Engine
This is Rietveld 408576698