chromium/chrome/browser/ui/webui/hats/hats_ui.cc

// Copyright 2023 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/hats/hats_ui.h"

#include "chrome/browser/ui/ui_features.h"
#include "chrome/browser/ui/webui/webui_util.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/grit/hats_resources.h"
#include "chrome/grit/hats_resources_map.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_ui.h"
#include "content/public/browser/web_ui_data_source.h"

HatsUIConfig::HatsUIConfig()
    :{}

bool HatsUIConfig::IsWebUIEnabled(content::BrowserContext* browser_context) {}

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

HatsUI::~HatsUI() = default;

void HatsUI::SetHatsPageHandlerDelegate(HatsPageHandlerDelegate* delegate) {}

void HatsUI::BindInterface(
    mojo::PendingReceiver<hats::mojom::PageHandlerFactory> receiver) {}

void HatsUI::CreatePageHandler(
    mojo::PendingRemote<hats::mojom::Page> page,
    mojo::PendingReceiver<hats::mojom::PageHandler> receiver) {}

WEB_UI_CONTROLLER_TYPE_IMPL(HatsUI)