chromium/components/history_clusters/history_clusters_internals/webui/history_clusters_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/354691088): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "components/history_clusters/history_clusters_internals/webui/history_clusters_internals_ui.h"

#include "components/grit/history_clusters_internals_resources.h"
#include "components/grit/history_clusters_internals_resources_map.h"
#include "components/history_clusters/history_clusters_internals/webui/history_clusters_internals_page_handler_impl.h"

HistoryClustersInternalsUI::HistoryClustersInternalsUI(
    content::WebUI* web_ui,
    history_clusters::HistoryClustersService* history_clusters_service,
    history::HistoryService* history_service,
    SetupWebUIDataSourceCallback set_up_data_source_callback)
    :{}

HistoryClustersInternalsUI::~HistoryClustersInternalsUI() = default;

void HistoryClustersInternalsUI::BindInterface(
    mojo::PendingReceiver<history_clusters_internals::mojom::PageHandlerFactory>
        receiver) {}

void HistoryClustersInternalsUI::CreatePageHandler(
    mojo::PendingRemote<history_clusters_internals::mojom::Page> page,
    mojo::PendingReceiver<history_clusters_internals::mojom::PageHandler>
        page_handler) {}

WEB_UI_CONTROLLER_TYPE_IMPL(HistoryClustersInternalsUI)