chromium/components/plus_addresses/plus_address_types.cc

// Copyright 2024 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/plus_addresses/plus_address_types.h"

#include <memory>
#include <optional>
#include <ostream>
#include <string>

namespace plus_addresses {

PreallocatedPlusAddress::PreallocatedPlusAddress(PlusAddress plus_address,
                                                 base::TimeDelta lifetime)
    :{}

PreallocatedPlusAddress::PreallocatedPlusAddress(
    const PreallocatedPlusAddress&) = default;

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

PreallocatedPlusAddress::PreallocatedPlusAddress(PreallocatedPlusAddress&&) =
    default;

PreallocatedPlusAddress& PreallocatedPlusAddress::operator=(
    PreallocatedPlusAddress&) = default;

PreallocatedPlusAddress::~PreallocatedPlusAddress() = default;

PlusProfile::PlusProfile(std::optional<std::string> profile_id,
                         affiliations::FacetURI facet,
                         PlusAddress plus_address,
                         bool is_confirmed)
    :{}
PlusProfile::PlusProfile(const PlusProfile&) = default;
PlusProfile::PlusProfile(PlusProfile&&) = default;
PlusProfile::~PlusProfile() = default;

PlusAddressDataChange::PlusAddressDataChange(Type type, PlusProfile profile)
    :{}
PlusAddressDataChange::PlusAddressDataChange(
    const PlusAddressDataChange& other) = default;
PlusAddressDataChange& PlusAddressDataChange::operator=(
    const PlusAddressDataChange& change) = default;
PlusAddressDataChange::~PlusAddressDataChange() = default;

std::ostream& operator<<(std::ostream& os,
                         const PreallocatedPlusAddress& address) {}

std::ostream& operator<<(std::ostream& os, PlusAddressRequestErrorType type) {}

std::ostream& operator<<(std::ostream& os,
                         const PlusAddressRequestError& error) {}

std::ostream& operator<<(std::ostream& os, const PlusProfile& profile) {}

std::ostream& operator<<(std::ostream& os, const PlusProfileOrError& profile) {}

}  // namespace plus_addresses