chromium/components/history_clusters/core/history_clusters_db_tasks.cc

// Copyright 2021 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/history_clusters/core/history_clusters_db_tasks.h"

#include <algorithm>

#include "base/containers/contains.h"
#include "base/metrics/histogram_functions.h"
#include "base/ranges/algorithm.h"
#include "base/time/time.h"
#include "base/timer/elapsed_timer.h"
#include "components/history/core/browser/history_backend.h"
#include "components/history/core/browser/history_database.h"
#include "components/history/core/browser/history_types.h"
#include "components/history_clusters/core/config.h"
#include "components/history_clusters/core/history_clusters_types.h"
#include "components/history_clusters/core/history_clusters_util.h"

namespace history_clusters {

// static
base::Time GetAnnotatedVisitsToCluster::GetBeginTimeOnDayBoundary(
    base::Time time) {}

GetAnnotatedVisitsToCluster::GetAnnotatedVisitsToCluster(
    IncompleteVisitMap incomplete_visit_map,
    base::Time begin_time_limit,
    QueryClustersContinuationParams continuation_params,
    bool recent_first,
    int days_of_clustered_visits,
    bool recluster,
    Callback callback)
    :{}

GetAnnotatedVisitsToCluster::~GetAnnotatedVisitsToCluster() = default;

bool GetAnnotatedVisitsToCluster::RunOnDBThread(
    history::HistoryBackend* backend,
    history::HistoryDatabase* db) {}

history::QueryOptions GetAnnotatedVisitsToCluster::GetHistoryQueryOptions(
    history::HistoryBackend* backend,
    base::Time now) {}

bool GetAnnotatedVisitsToCluster::AddUnclusteredVisits(
    history::HistoryBackend* backend,
    history::HistoryDatabase* db,
    history::QueryOptions options) {}

void GetAnnotatedVisitsToCluster::AddIncompleteVisits(
    history::HistoryBackend* backend,
    base::Time begin_time,
    base::Time end_time) {}

void GetAnnotatedVisitsToCluster::IncrementContinuationParams(
    history::QueryOptions options,
    bool limited_by_max_count,
    base::Time now) {}

void GetAnnotatedVisitsToCluster::AddClusteredVisits(
    history::HistoryBackend* backend,
    history::HistoryDatabase* db,
    base::Time unclustered_begin_time) {}

void GetAnnotatedVisitsToCluster::DoneRunOnMainThread() {}

}  // namespace history_clusters