#include "components/services/storage/public/cpp/buckets/bucket_info.h"
#include "base/ranges/algorithm.h"
namespace storage {
BucketInfo::BucketInfo(BucketId bucket_id,
blink::StorageKey storage_key,
blink::mojom::StorageType type,
std::string name,
base::Time expiration,
int64_t quota,
bool persistent,
blink::mojom::BucketDurability durability)
: … { … }
BucketInfo::BucketInfo() = default;
BucketInfo::~BucketInfo() = default;
BucketInfo::BucketInfo(const BucketInfo&) = default;
BucketInfo::BucketInfo(BucketInfo&&) noexcept = default;
BucketInfo& BucketInfo::operator=(const BucketInfo&) = default;
BucketInfo& BucketInfo::operator=(BucketInfo&&) noexcept = default;
bool operator==(const BucketInfo& lhs, const BucketInfo& rhs) { … }
bool operator!=(const BucketInfo& lhs, const BucketInfo& rhs) { … }
bool operator<(const BucketInfo& lhs, const BucketInfo& rhs) { … }
std::set<BucketLocator> COMPONENT_EXPORT(STORAGE_SERVICE_BUCKETS_SUPPORT)
BucketInfosToBucketLocators(const std::set<BucketInfo>& bucket_infos) { … }
}