// Copyright 2021 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_SUPPORT_TOOL_SUPPORT_TOOL_UI_H_ #define CHROME_BROWSER_UI_WEBUI_SUPPORT_TOOL_SUPPORT_TOOL_UI_H_ #include "chrome/browser/profiles/profile.h" #include "content/public/browser/web_ui_controller.h" // This enum is emitted to UMA // `Browser.SupportTool.SupportToolWebUIAction` and can't be // renumerated. Please update `SupportToolWebUIActionType` values // in tools/metrics/histograms/enums.xml when you add a new value here. enum class SupportToolWebUIActionType { … }; // The histogram name for the UMA metrics we use for recording the WebUI // actions. extern const char kSupportToolWebUIActionHistogram[]; // The C++ back-end for the chrome://support-tool webui page. class SupportToolUI : public content::WebUIController { … }; #endif // CHROME_BROWSER_UI_WEBUI_SUPPORT_TOOL_SUPPORT_TOOL_UI_H_