chromium/content/browser/private_aggregation/private_aggregation_internals_ui.h

// 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.

#ifndef CONTENT_BROWSER_PRIVATE_AGGREGATION_PRIVATE_AGGREGATION_INTERNALS_UI_H_
#define CONTENT_BROWSER_PRIVATE_AGGREGATION_PRIVATE_AGGREGATION_INTERNALS_UI_H_

#include <memory>

#include "content/browser/private_aggregation/private_aggregation_internals.mojom.h"
#include "content/public/browser/web_ui_controller.h"
#include "content/public/browser/webui_config.h"
#include "content/public/common/url_constants.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/receiver.h"

namespace content {

class PrivateAggregationInternalsHandlerImpl;
class PrivateAggregationInternalsUI;
class WebUI;

// WebUIConfig for chrome://private-aggregation-internals page
class PrivateAggregationInternalsUIConfig
    : public DefaultWebUIConfig<PrivateAggregationInternalsUI> {};

// WebUI which handles serving the chrome://private-aggregation-internals page.
class PrivateAggregationInternalsUI
    : public WebUIController,
      public private_aggregation_internals::mojom::Factory {};

}  // namespace content

#endif  // CONTENT_BROWSER_PRIVATE_AGGREGATION_PRIVATE_AGGREGATION_INTERNALS_UI_H_