#include "chrome/browser/ui/webui/metrics_handler.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
#include "base/metrics/user_metrics.h"
#include "base/notreached.h"
#include "base/values.h"
#include "build/build_config.h"
#include "chrome/browser/ui/tab_contents/core_tab_helper.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_ui.h"
MetricsHandler::MetricsHandler() = default;
MetricsHandler::~MetricsHandler() = default;
void MetricsHandler::RegisterMessages() { … }
void MetricsHandler::HandleRecordAction(const base::Value::List& args) { … }
void MetricsHandler::HandleRecordInHistogram(const base::Value::List& args) { … }
void MetricsHandler::HandleRecordBooleanHistogram(
const base::Value::List& args) { … }
void MetricsHandler::HandleRecordTime(const base::Value::List& args) { … }
void MetricsHandler::HandleRecordMediumTime(const base::Value::List& args) { … }
void MetricsHandler::HandleRecordSparseHistogram(
const base::Value::List& args) { … }