#include "components/services/storage/public/cpp/buckets/bucket_locator.h"
namespace storage {
BucketLocator::BucketLocator(BucketId id,
blink::StorageKey storage_key,
blink::mojom::StorageType type,
bool is_default)
: … { … }
BucketLocator::BucketLocator() = default;
BucketLocator::~BucketLocator() = default;
BucketLocator BucketLocator::ForDefaultBucket(blink::StorageKey storage_key) { … }
BucketLocator::BucketLocator(const BucketLocator&) = default;
BucketLocator::BucketLocator(BucketLocator&&) noexcept = default;
BucketLocator& BucketLocator::operator=(const BucketLocator&) = default;
BucketLocator& BucketLocator::operator=(BucketLocator&&) noexcept = default;
bool BucketLocator::IsEquivalentTo(const BucketLocator& other) const { … }
bool operator==(const BucketLocator& lhs, const BucketLocator& rhs) { … }
bool operator!=(const BucketLocator& lhs, const BucketLocator& rhs) { … }
bool operator<(const BucketLocator& lhs, const BucketLocator& rhs) { … }
bool CompareBucketLocators::operator()(const BucketLocator& a,
const BucketLocator& b) const { … }
}