chromium/components/attribution_reporting/suitable_origin.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 "components/attribution_reporting/suitable_origin.h"

#include <optional>
#include <string>
#include <utility>

#include "base/check.h"
#include "components/attribution_reporting/is_origin_suitable.h"
#include "mojo/public/cpp/bindings/default_construct_tag.h"
#include "net/base/schemeful_site.h"
#include "url/gurl.h"
#include "url/origin.h"

namespace attribution_reporting {

bool IsSitePotentiallySuitable(const net::SchemefulSite& site) {}

// static
bool SuitableOrigin::IsSuitable(const url::Origin& origin) {}

// static
std::optional<SuitableOrigin> SuitableOrigin::Create(url::Origin origin) {}

// static
std::optional<SuitableOrigin> SuitableOrigin::Create(const GURL& url) {}

// static
std::optional<SuitableOrigin> SuitableOrigin::Deserialize(
    std::string_view str) {}

SuitableOrigin::SuitableOrigin(mojo::DefaultConstruct::Tag) {}

SuitableOrigin::SuitableOrigin(url::Origin origin)
    :{}

SuitableOrigin::~SuitableOrigin() = default;

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

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

SuitableOrigin::SuitableOrigin(SuitableOrigin&&) = default;

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

std::string SuitableOrigin::Serialize() const {}

bool SuitableOrigin::IsValid() const {}

}  // namespace attribution_reporting