chromium/chrome/browser/ui/webui/browsing_topics/browsing_topics_internals_ui.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.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "chrome/browser/ui/webui/browsing_topics/browsing_topics_internals_ui.h"

#include "base/i18n/time_formatting.h"
#include "chrome/browser/privacy_sandbox/privacy_sandbox_service.h"
#include "chrome/browser/privacy_sandbox/privacy_sandbox_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/webui/browsing_topics/browsing_topics_internals_page_handler.h"
#include "chrome/browser/ui/webui/webui_util.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/grit/browsing_topics_internals_resources.h"
#include "chrome/grit/browsing_topics_internals_resources_map.h"
#include "components/browsing_topics/mojom/browsing_topics_internals.mojom.h"
#include "components/privacy_sandbox/privacy_sandbox_prefs.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_ui_data_source.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"

namespace {

void AddTopicsConsentStrings(content::WebUIDataSource* html_source,
                             Profile* profile) {}

}  // namespace

BrowsingTopicsInternalsUI::BrowsingTopicsInternalsUI(content::WebUI* web_ui)
    :{}

BrowsingTopicsInternalsUI::~BrowsingTopicsInternalsUI() = default;

WEB_UI_CONTROLLER_TYPE_IMPL(BrowsingTopicsInternalsUI)

void BrowsingTopicsInternalsUI::BindInterface(
    mojo::PendingReceiver<browsing_topics::mojom::PageHandler> receiver) {}