#include "chrome/browser/segmentation_platform/ukm_database_client.h"
#include "base/check_is_test.h"
#include "base/feature_list.h"
#include "base/no_destructor.h"
#include "base/path_service.h"
#include "base/synchronization/lock.h"
#include "chrome/browser/browser_process.h"
#include "chrome/common/chrome_paths.h"
#include "components/metrics_services_manager/metrics_services_manager.h"
#include "components/segmentation_platform/internal/dummy_ukm_data_manager.h"
#include "components/segmentation_platform/internal/signals/ukm_observer.h"
#include "components/segmentation_platform/internal/ukm_data_manager_impl.h"
#include "components/segmentation_platform/public/features.h"
#include "components/ukm/ukm_service.h"
namespace segmentation_platform {
UkmDatabaseClient::UkmDatabaseClient() { … }
UkmDatabaseClient::~UkmDatabaseClient() = default;
segmentation_platform::UkmDataManager* UkmDatabaseClient::GetUkmDataManager() { … }
void UkmDatabaseClient::PreProfileInit(bool in_memory_database) { … }
void UkmDatabaseClient::TearDownForTesting() { … }
void UkmDatabaseClient::PostMessageLoopRun() { … }
UkmDatabaseClientHolder& UkmDatabaseClientHolder::GetInstance() { … }
UkmDatabaseClient& UkmDatabaseClientHolder::GetClientInstance(
Profile* profile) { … }
void UkmDatabaseClientHolder::SetUkmClientForTesting(
Profile* profile,
UkmDatabaseClient* client) { … }
UkmDatabaseClientHolder::UkmDatabaseClientHolder()
: … { … }
UkmDatabaseClientHolder::~UkmDatabaseClientHolder() = default;
void UkmDatabaseClientHolder::SetUkmClientForTestingInternal(
Profile* profile,
UkmDatabaseClient* client) { … }
}