#include "components/optimization_guide/core/store_update_data.h"
#include "base/memory/ptr_util.h"
#include "base/strings/string_number_conversions.h"
#include "components/optimization_guide/core/optimization_guide_features.h"
#include "components/optimization_guide/core/optimization_guide_store.h"
#include "components/optimization_guide/proto/hint_cache.pb.h"
#include "components/optimization_guide/proto/hints.pb.h"
#include "components/optimization_guide/proto/models.pb.h"
namespace optimization_guide {
std::unique_ptr<StoreUpdateData>
StoreUpdateData::CreateComponentStoreUpdateData(
const base::Version& component_version) { … }
std::unique_ptr<StoreUpdateData> StoreUpdateData::CreateFetchedStoreUpdateData(
base::Time fetch_update_time) { … }
StoreUpdateData::StoreUpdateData(std::optional<base::Version> component_version,
std::optional<base::Time> fetch_update_time,
std::optional<base::Time> expiry_time)
: … { … }
StoreUpdateData::~StoreUpdateData() = default;
void StoreUpdateData::MoveHintIntoUpdateData(proto::Hint&& hint) { … }
std::unique_ptr<EntryVector> StoreUpdateData::TakeUpdateEntries() { … }
}