chromium/components/segmentation_platform/internal/database/ukm_metrics_table.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/database/ukm_metrics_table.h"

#include <inttypes.h>
#include <cstdint>

#include "base/check_op.h"
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "base/time/time.h"
#include "services/metrics/public/cpp/ukm_source_id.h"
#include "sql/database.h"
#include "sql/statement.h"

namespace segmentation_platform {

UkmMetricsTable::UkmMetricsTable(sql::Database* db) :{}

UkmMetricsTable::~UkmMetricsTable() = default;

bool UkmMetricsTable::InitTable() {}

bool UkmMetricsTable::AddUkmEvent(const UkmMetricsTable::MetricsRow& row) {}

std::string HashToHexString(uint64_t hash) {}

bool UkmMetricsTable::UpdateUrlIdForSource(ukm::SourceId source_id,
                                           UrlId url_id) {}

bool UkmMetricsTable::DeleteEventsForUrls(const std::vector<UrlId>& urls) {}

std::vector<UrlId> UkmMetricsTable::DeleteEventsBeforeTimestamp(
    base::Time time) {}

bool UkmMetricsTable::HasEntriesWithUrl(UrlId url_id) {}

}  // namespace segmentation_platform