// 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 CONTENT_BROWSER_METRICS_HISTOGRAMS_MONITOR_H_ #define CONTENT_BROWSER_METRICS_HISTOGRAMS_MONITOR_H_ #include <map> #include <string_view> #include "base/metrics/histogram_samples.h" #include "base/metrics/statistics_recorder.h" #include "content/common/content_export.h" namespace content { // This class handles the monitoring feature of chrome://histograms page, // which allows the page to be updated with histograms logged since the // monitoring started. // // Note that this class does not handle merging histograms from any // |HistogramProvider| instances. It also does not handle synchronizing // histograms from subprocesses. The caller has the responsibility for these // beforehand. class CONTENT_EXPORT HistogramsMonitor { … }; } // namespace content #endif // CONTENT_BROWSER_METRICS_HISTOGRAMS_MONITOR_H_