chromium/components/metrics_services_manager/metrics_services_manager.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/metrics_services_manager/metrics_services_manager.h"

#include <memory>
#include <utility>

#include "base/check.h"
#include "base/functional/bind.h"
#include "base/metrics/histogram_macros.h"
#include "build/chromeos_buildflags.h"
#include "components/metrics/metrics_service.h"
#include "components/metrics/metrics_service_client.h"
#include "components/metrics/metrics_state_manager.h"
#include "components/metrics/metrics_switches.h"
#include "components/metrics/structured/structured_metrics_service.h"  // nogncheck
#include "components/metrics_services_manager/metrics_services_manager_client.h"
#include "components/ukm/ukm_service.h"
#include "components/variations/service/variations_service.h"
#include "components/variations/synthetic_trial_registry.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"

namespace metrics_services_manager {

MetricsServicesManager::MetricsServicesManager(
    std::unique_ptr<MetricsServicesManagerClient> client)
    :{}

MetricsServicesManager::~MetricsServicesManager() {}

void MetricsServicesManager::InstantiateFieldTrialList() const {}

variations::SyntheticTrialRegistry*
MetricsServicesManager::GetSyntheticTrialRegistry() {}

metrics::MetricsService* MetricsServicesManager::GetMetricsService() {}

ukm::UkmService* MetricsServicesManager::GetUkmService() {}

IdentifiabilityStudyState*
MetricsServicesManager::GetIdentifiabilityStudyState() {}

metrics::structured::StructuredMetricsService*
MetricsServicesManager::GetStructuredMetricsService() {}

variations::VariationsService* MetricsServicesManager::GetVariationsService() {}

MetricsServicesManager::OnDidStartLoadingCb
MetricsServicesManager::GetOnDidStartLoadingCb() {}

MetricsServicesManager::OnDidStopLoadingCb
MetricsServicesManager::GetOnDidStopLoadingCb() {}

MetricsServicesManager::OnRendererUnresponsiveCb
MetricsServicesManager::GetOnRendererUnresponsiveCb() {}

std::unique_ptr<const variations::EntropyProviders>
MetricsServicesManager::CreateEntropyProvidersForTesting() {}

metrics::MetricsServiceClient*
MetricsServicesManager::GetMetricsServiceClient() {}

void MetricsServicesManager::UpdatePermissions(bool current_may_record,
                                               bool current_consent_given,
                                               bool current_may_upload) {}

void MetricsServicesManager::LoadingStateChanged(bool is_loading) {}

void MetricsServicesManager::OnRendererUnresponsive() {}

void MetricsServicesManager::UpdateRunningServices() {}

void MetricsServicesManager::UpdateUkmService() {}

void MetricsServicesManager::UpdateStructuredMetricsService() {}

void MetricsServicesManager::UpdateUploadPermissions(bool may_upload) {}

bool MetricsServicesManager::IsMetricsReportingEnabled() const {}

bool MetricsServicesManager::IsMetricsConsentGiven() const {}

bool MetricsServicesManager::IsUkmAllowedForAllProfiles() {}

}  // namespace metrics_services_manager