chromium/content/public/browser/webui_config_map.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.

#include "content/public/browser/webui_config_map.h"

#include <utility>

#include "base/containers/contains.h"
#include "base/memory/raw_ref.h"
#include "base/no_destructor.h"
#include "base/strings/strcat.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_ui.h"
#include "content/public/browser/web_ui_controller.h"
#include "content/public/browser/web_ui_controller_factory.h"
#include "content/public/browser/webui_config.h"
#include "content/public/common/url_constants.h"
#include "url/gurl.h"

namespace content {

namespace {

// Owned by WebUIConfigMap. Used to hook up with the existing WebUI infra.
class WebUIConfigMapWebUIControllerFactory : public WebUIControllerFactory {};

}  // namespace

// static
WebUIConfigMap& WebUIConfigMap::GetInstance() {}

WebUIConfigMap::WebUIConfigMap()
    :{}

WebUIConfigMap::~WebUIConfigMap() = default;

void WebUIConfigMap::AddWebUIConfig(std::unique_ptr<WebUIConfig> config) {}

void WebUIConfigMap::AddUntrustedWebUIConfig(
    std::unique_ptr<WebUIConfig> config) {}

void WebUIConfigMap::AddWebUIConfigImpl(std::unique_ptr<WebUIConfig> config) {}

WebUIConfig* WebUIConfigMap::GetConfig(BrowserContext* browser_context,
                                       const GURL& url) {}

std::unique_ptr<WebUIConfig> WebUIConfigMap::RemoveConfig(const GURL& url) {}

std::vector<WebUIConfigInfo> WebUIConfigMap::GetWebUIConfigList(
    BrowserContext* browser_context) {}

}  // namespace content