#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "chrome/browser/ui/webui/data_sharing_internals/data_sharing_internals_ui.h"
#include "chrome/browser/data_sharing/data_sharing_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/webui/data_sharing_internals/data_sharing_internals_page_handler_impl.h"
#include "chrome/browser/ui/webui/webui_util.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/grit/data_sharing_internals_resources.h"
#include "chrome/grit/data_sharing_internals_resources_map.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_ui_data_source.h"
DataSharingInternalsUIConfig::DataSharingInternalsUIConfig()
: … { … }
DataSharingInternalsUIConfig::~DataSharingInternalsUIConfig() = default;
DataSharingInternalsUI::DataSharingInternalsUI(content::WebUI* web_ui)
: … { … }
DataSharingInternalsUI::~DataSharingInternalsUI() = default;
void DataSharingInternalsUI::BindInterface(
mojo::PendingReceiver<data_sharing_internals::mojom::PageHandlerFactory>
receiver) { … }
void DataSharingInternalsUI::CreatePageHandler(
mojo::PendingRemote<data_sharing_internals::mojom::Page> page,
mojo::PendingReceiver<data_sharing_internals::mojom::PageHandler>
receiver) { … }
WEB_UI_CONTROLLER_TYPE_IMPL(DataSharingInternalsUI)