chromium/net/first_party_sets/first_party_set_entry.cc

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

#include "net/first_party_sets/first_party_set_entry.h"

#include <tuple>

#include "base/notreached.h"
#include "base/strings/strcat.h"
#include "net/base/schemeful_site.h"

namespace net {

namespace {

std::string SiteTypeToString(SiteType site_type) {}

}  // namespace

FirstPartySetEntry::SiteIndex::SiteIndex() = default;

FirstPartySetEntry::SiteIndex::SiteIndex(uint32_t value) :{}

bool FirstPartySetEntry::SiteIndex::operator==(const SiteIndex& other) const =
    default;

FirstPartySetEntry::FirstPartySetEntry() = default;

FirstPartySetEntry::FirstPartySetEntry(
    SchemefulSite primary,
    SiteType site_type,
    std::optional<FirstPartySetEntry::SiteIndex> site_index)
    :{}

FirstPartySetEntry::FirstPartySetEntry(SchemefulSite primary,
                                       SiteType site_type,
                                       uint32_t site_index)
    :{}

FirstPartySetEntry::FirstPartySetEntry(const FirstPartySetEntry&) = default;
FirstPartySetEntry& FirstPartySetEntry::operator=(const FirstPartySetEntry&) =
    default;
FirstPartySetEntry::FirstPartySetEntry(FirstPartySetEntry&&) = default;
FirstPartySetEntry& FirstPartySetEntry::operator=(FirstPartySetEntry&&) =
    default;

FirstPartySetEntry::~FirstPartySetEntry() = default;

bool FirstPartySetEntry::operator==(const FirstPartySetEntry& other) const =
    default;

bool FirstPartySetEntry::operator!=(const FirstPartySetEntry& other) const =
    default;

// static
std::optional<net::SiteType> FirstPartySetEntry::DeserializeSiteType(
    int value) {}

std::string FirstPartySetEntry::GetDebugString() const {}

std::ostream& operator<<(std::ostream& os,
                         const FirstPartySetEntry::SiteIndex& index) {}

std::ostream& operator<<(std::ostream& os, const FirstPartySetEntry& entry) {}

}  // namespace net