blob: 564b5eb4cd26b65d8007507bc02dd8327f2da785 [file] [log] [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_WEBUI_INTERNALS_INTERNALS_UI_H_
#define CHROME_BROWSER_UI_WEBUI_INTERNALS_INTERNALS_UI_H_
#include "base/memory/raw_ptr.h"
#include "build/build_config.h"
#include "chrome/browser/profiles/profile.h"
#include "content/public/browser/web_ui_controller.h"
#include "content/public/browser/web_ui_data_source.h"
#include "content/public/browser/webui_config.h"
namespace content {
class WebUI;
} // namespace content
class InternalsUI;
class InternalsUIConfig : public content::DefaultWebUIConfig<InternalsUI> {
public:
InternalsUIConfig();
};
class InternalsUI : public content::WebUIController {
public:
explicit InternalsUI(content::WebUI* web_ui);
~InternalsUI() override;
private:
WEB_UI_CONTROLLER_TYPE_DECL();
raw_ptr<Profile> profile_;
raw_ptr<content::WebUIDataSource> source_;
};
#endif // CHROME_BROWSER_UI_WEBUI_INTERNALS_INTERNALS_UI_H_