#include "chrome/browser/ui/webui/metrics_internals/metrics_internals_handler.h"
#include "base/functional/bind.h"
#include "base/values.h"
#include "chrome/browser/browser_process.h"
#include "components/metrics/debug/metrics_internals_utils.h"
#include "components/metrics/metrics_service.h"
#include "components/metrics/metrics_service_observer.h"
MetricsInternalsHandler::MetricsInternalsHandler() { … }
MetricsInternalsHandler::~MetricsInternalsHandler() { … }
void MetricsInternalsHandler::OnJavascriptAllowed() { … }
void MetricsInternalsHandler::OnJavascriptDisallowed() { … }
void MetricsInternalsHandler::RegisterMessages() { … }
bool MetricsInternalsHandler::ShouldUseMetricsServiceObserver() { … }
metrics::MetricsServiceObserver* MetricsInternalsHandler::GetUmaObserver() { … }
void MetricsInternalsHandler::HandleFetchVariationsSummary(
const base::Value::List& args) { … }
void MetricsInternalsHandler::HandleFetchUmaSummary(
const base::Value::List& args) { … }
void MetricsInternalsHandler::HandleFetchUmaLogsData(
const base::Value::List& args) { … }
void MetricsInternalsHandler::HandleIsUsingMetricsServiceObserver(
const base::Value::List& args) { … }
void MetricsInternalsHandler::OnUmaLogCreatedOrEvent() { … }