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

#include <utility>

#include "base/containers/span.h"
#include "base/hash/md5.h"
#include "base/logging.h"
#include "base/numerics/byte_conversions.h"
#include "components/database_utils/url_converter.h"
#include "sql/database.h"
#include "sql/statement.h"

namespace segmentation_platform {

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

UkmUrlTable::~UkmUrlTable() = default;

// static
std::string UkmUrlTable::GetDatabaseUrlString(const GURL& url) {}

// static
UrlId UkmUrlTable::GenerateUrlId(const GURL& url) {}

bool UkmUrlTable::InitTable() {}

bool UkmUrlTable::IsUrlInTable(UrlId url_id) {}

bool UkmUrlTable::WriteUrl(const GURL& url,
                           UrlId url_id,
                           base::Time timestamp,
                           const std::string& profile_id) {}

bool UkmUrlTable::UpdateUrlTimestamp(UrlId url_id, base::Time timestamp) {}

bool UkmUrlTable::RemoveUrls(const std::vector<UrlId>& urls) {}

bool UkmUrlTable::DeleteUrlsBeforeTimestamp(base::Time time) {}

}  // namespace segmentation_platform