| Index: components/cryptauth/background_eid_generator.h
|
| diff --git a/components/cryptauth/background_eid_generator.h b/components/cryptauth/background_eid_generator.h
|
| index 506fa47cee005daad3db853fcadf3f51f402e41a..10b548b62c5ad94ad2813f1fb781ca95e1664ff6 100644
|
| --- a/components/cryptauth/background_eid_generator.h
|
| +++ b/components/cryptauth/background_eid_generator.h
|
| @@ -11,6 +11,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/time/clock.h"
|
| +#include "components/cryptauth/eid_data_with_timestamp.h"
|
|
|
| namespace cryptauth {
|
|
|
| @@ -33,7 +34,7 @@ class BackgroundEidGenerator {
|
|
|
| // Returns a list of the nearest EIDs from the current time. Note that the
|
| // list of EIDs is sorted from earliest timestamp to latest.
|
| - virtual std::vector<std::string> GenerateNearestEids(
|
| + virtual std::vector<EidDataWithTimestamp> GenerateNearestEids(
|
| const std::vector<BeaconSeed>& beacon_seed) const;
|
|
|
| private:
|
| @@ -44,7 +45,7 @@ class BackgroundEidGenerator {
|
| // Helper function to generate the EID for any |timestamp_ms|, properly
|
| // calculating the start of the period. Returns nullptr if |timestamp_ms| is
|
| // outside of range of |beacon_seeds|.
|
| - std::unique_ptr<std::string> GenerateEid(
|
| + std::unique_ptr<EidDataWithTimestamp> GenerateEid(
|
| int64_t timestamp_ms,
|
| const std::vector<BeaconSeed>& beacon_seeds) const;
|
|
|
|
|