chromium/components/optimization_guide/core/store_update_data.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// static
std::unique_ptr<StoreUpdateData>
StoreUpdateData::CreateComponentStoreUpdateData(
    const base::Version& component_version) {}

// static
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() {}

}  // namespace optimization_guide