chromium/components/commerce/core/parcel/parcels_storage.cc

// Copyright 2023 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/commerce/core/parcel/parcels_storage.h"

#include <optional>
#include <string>

#include "base/check.h"
#include "base/functional/callback.h"
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "components/commerce/core/parcel/parcels_utils.h"
#include "components/session_proto_db/session_proto_storage.h"

namespace commerce {

namespace {
constexpr base::TimeDelta kTimeToModifyDoneParcels =;

std::string GetDbKeyFromParcelStatus(
    const ParcelIdentifier& parcel_identifier) {}
}  // namespace

ParcelsStorage::ParcelsStorage(
    SessionProtoStorage<ParcelTrackingContent>* parcel_tracking_db,
    base::Clock* clock)
    :{}

ParcelsStorage::~ParcelsStorage() = default;

void ParcelsStorage::Init(OnInitializedCallback callback) {}

std::unique_ptr<std::vector<parcel_tracking_db::ParcelTrackingContent>>
ParcelsStorage::GetAllParcelTrackingContents() {}

void ParcelsStorage::UpdateParcelStatus(
    const std::vector<ParcelStatus>& parcel_status,
    StorageUpdateCallback callback) {}

void ParcelsStorage::DeleteParcelStatus(const std::string& tracking_id,
                                        StorageUpdateCallback callback) {}

void ParcelsStorage::DeleteParcelsStatus(
    const std::vector<ParcelIdentifier>& parcel_identifiers,
    StorageUpdateCallback callback) {}

void ParcelsStorage::DeleteAllParcelStatus(StorageUpdateCallback callback) {}

void ParcelsStorage::OnAllParcelsLoaded(OnInitializedCallback callback,
                                        bool success,
                                        ParcelTrackings parcel_trackings) {}

void ParcelsStorage::ModifyOldDoneParcels() {}

}  // namespace commerce