chromium/chrome/browser/ui/webui/privacy_sandbox/related_website_sets/related_website_sets_handler.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 "chrome/browser/ui/webui/privacy_sandbox/related_website_sets/related_website_sets_handler.h"

#include "base/check.h"
#include "chrome/browser/first_party_sets/first_party_sets_policy_service.h"
#include "chrome/browser/first_party_sets/first_party_sets_policy_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "content/public/browser/web_contents.h"
#include "url/gurl.h"

Member;
MemberPtr;
RelatedWebsiteSet;
RelatedWebsiteSetPtr;
SiteType;

namespace {

constexpr char kNoServiceError[] =;
constexpr char kServiceNotReadyError[] =;

SiteType GetSiteType(const net::SiteType type) {}

// Requires service to be fully initialized
std::vector<RelatedWebsiteSetPtr> ComputeRelatedWebsiteSetsInfo(
    base::WeakPtr<first_party_sets::FirstPartySetsPolicyService> service) {}

}  // namespace

RelatedWebsiteSetsHandler::RelatedWebsiteSetsHandler(
    content::WebUI* web_ui,
    mojo::PendingReceiver<
        related_website_sets::mojom::RelatedWebsiteSetsPageHandler> receiver)
    :{}

RelatedWebsiteSetsHandler::~RelatedWebsiteSetsHandler() = default;

void RelatedWebsiteSetsHandler::GetRelatedWebsiteSets(
    GetRelatedWebsiteSetsCallback callback) {}