chromium/components/segmentation_platform/internal/ukm_data_manager_impl.cc

// Copyright 2022 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/segmentation_platform/internal/ukm_data_manager_impl.h"

#include "base/check_is_test.h"
#include "base/check_op.h"
#include "base/task/sequenced_task_runner.h"
#include "components/segmentation_platform/internal/database/ukm_database_impl.h"
#include "components/segmentation_platform/internal/signals/ukm_config.h"
#include "components/segmentation_platform/internal/signals/ukm_observer.h"
#include "components/segmentation_platform/internal/signals/url_signal_handler.h"

namespace segmentation_platform {

namespace {

// Delay for running clean up task from startup.
const base::TimeDelta kDatabaseCleanupDelayStartup =;

// Periodic interval between two cleanup tasks.
const base::TimeDelta kDatabaseCleanupDelayNormal =;

// Number of days to keep UKM metrics in database.
constexpr base::TimeDelta kUkmEntriesTTL =;

}  // namespace

UkmDataManagerImpl::UkmDataManagerImpl() = default;

UkmDataManagerImpl::~UkmDataManagerImpl() {}

void UkmDataManagerImpl::InitializeForTesting(
    std::unique_ptr<UkmDatabase> ukm_database,
    UkmObserver* ukm_observer) {}

void UkmDataManagerImpl::Initialize(const base::FilePath& database_path,
                                    bool in_memory) {}

void UkmDataManagerImpl::StartObservation(UkmObserver* ukm_observer) {}

void UkmDataManagerImpl::InitiailizeImpl(
    std::unique_ptr<UkmDatabase> ukm_database) {}

bool UkmDataManagerImpl::IsUkmEngineEnabled() {}

UrlSignalHandler* UkmDataManagerImpl::GetOrCreateUrlHandler() {}

void UkmDataManagerImpl::StartObservingUkm(const UkmConfig& ukm_config) {}

void UkmDataManagerImpl::PauseOrResumeObservation(bool pause) {}

UkmDatabase* UkmDataManagerImpl::GetUkmDatabase() {}

bool UkmDataManagerImpl::HasUkmDatabase() {}

void UkmDataManagerImpl::OnEntryAdded(ukm::mojom::UkmEntryPtr entry) {}

void UkmDataManagerImpl::OnUkmSourceUpdated(ukm::SourceId source_id,
                                            const std::vector<GURL>& urls) {}

void UkmDataManagerImpl::AddRef() {}

void UkmDataManagerImpl::RemoveRef() {}

void UkmDataManagerImpl::RunCleanupTask() {}

}  // namespace segmentation_platform