#include "components/metrics/metrics_provider.h"
#include "base/notreached.h"
#include "third_party/metrics_proto/chrome_user_metrics_extension.pb.h"
namespace metrics {
MetricsProvider::MetricsProvider() { … }
MetricsProvider::~MetricsProvider() { … }
void MetricsProvider::Init() { … }
void MetricsProvider::AsyncInit(base::OnceClosure done_callback) { … }
bool MetricsProvider::ProvideHistograms() { … }
void MetricsProvider::OnDidCreateMetricsLog() { … }
void MetricsProvider::OnRecordingEnabled() { … }
void MetricsProvider::OnRecordingDisabled() { … }
void MetricsProvider::OnClientStateCleared() { … }
void MetricsProvider::OnAppEnterBackground() { … }
void MetricsProvider::OnPageLoadStarted() { … }
bool MetricsProvider::HasIndependentMetrics() { … }
void MetricsProvider::ProvideIndependentMetrics(
base::OnceClosure serialize_log_callback,
base::OnceCallback<void(bool)> done_callback,
ChromeUserMetricsExtension* uma_proto,
base::HistogramSnapshotManager* snapshot_manager) { … }
void MetricsProvider::ProvideSystemProfileMetrics(
SystemProfileProto* system_profile_proto) { … }
void MetricsProvider::ProvideSystemProfileMetricsWithLogCreationTime(
base::TimeTicks log_creation_time,
SystemProfileProto* system_profile_proto) { … }
bool MetricsProvider::HasPreviousSessionData() { … }
void MetricsProvider::ProvidePreviousSessionData(
ChromeUserMetricsExtension* uma_proto) { … }
void MetricsProvider::ProvideCurrentSessionData(
ChromeUserMetricsExtension* uma_proto) { … }
void MetricsProvider::ProvideCurrentSessionUKMData() { … }
void MetricsProvider::ProvideStabilityMetrics(
SystemProfileProto* system_profile_proto) { … }
void MetricsProvider::ClearSavedStabilityMetrics() { … }
void MetricsProvider::RecordHistogramSnapshots(
base::HistogramSnapshotManager* snapshot_manager) { … }
void MetricsProvider::RecordInitialHistogramSnapshots(
base::HistogramSnapshotManager* snapshot_manager) { … }
}