#include "components/flags_ui/flags_ui_metrics.h"
#include <set>
#include <string>
#include "base/logging.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/metrics_hashes.h"
#include "base/notreached.h"
#include "base/strings/string_util.h"
namespace flags_ui {
namespace {
void ReportAboutFlagsHistogramSwitches(const std::string& uma_histogram_name,
const std::set<std::string>& switches) { … }
void ReportAboutFlagsHistogramFeatures(const std::string& uma_histogram_name,
const std::set<std::string>& features) { … }
}
base::HistogramBase::Sample GetSwitchUMAId(const std::string& switch_name) { … }
void ReportAboutFlagsHistogram(const std::string& uma_histogram_name,
const std::set<std::string>& switches,
const std::set<std::string>& features) { … }
namespace testing {
const base::HistogramBase::Sample kBadSwitchFormatHistogramId = …;
}
}