chromium/components/visited_url_ranking/public/url_visit.cc

// Copyright 2024 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/visited_url_ranking/public/url_visit.h"

#include <optional>
#include <set>
#include <string>
#include <utility>
#include <variant>

namespace visited_url_ranking {

URLVisit::URLVisit(const GURL& url_arg,
                   const std::u16string& title_arg,
                   const base::Time& last_modified_arg,
                   syncer::DeviceInfo::FormFactor device_type_arg,
                   Source source_arg)
    :{}

URLVisit::URLVisit(const URLVisit&) = default;

URLVisit::~URLVisit() = default;

URLVisitAggregate::URLVisitAggregate(std::string key_arg) :{}

URLVisitAggregate::~URLVisitAggregate() = default;

URLVisitAggregate::URLVisitAggregate(URLVisitAggregate&& other) = default;

URLVisitAggregate& URLVisitAggregate::operator=(URLVisitAggregate&& other) =
    default;

std::set<std::u16string_view> URLVisitAggregate::GetAssociatedTitles() const {}

std::set<const GURL*> URLVisitAggregate::GetAssociatedURLs() const {}

base::Time URLVisitAggregate::GetLastVisitTime() const {}

URLVisitAggregate::Tab::Tab(const int32_t id_arg,
                            URLVisit visit_arg,
                            std::optional<std::string> session_tag_arg,
                            std::optional<std::string> session_name_arg)
    :{}

URLVisitAggregate::Tab::Tab(const URLVisitAggregate::Tab&) = default;

URLVisitAggregate::Tab::~Tab() = default;

URLVisitAggregate::TabData::TabData(Tab last_active_tab_arg)
    :{}

URLVisitAggregate::TabData::TabData(const URLVisitAggregate::TabData&) =
    default;

URLVisitAggregate::TabData::~TabData() = default;

URLVisitAggregate::HistoryData::HistoryData(
    history::AnnotatedVisit annotated_visit)
    :{}

URLVisitAggregate::HistoryData::HistoryData(
    URLVisitAggregate::HistoryData&& other) = default;

URLVisitAggregate::HistoryData& URLVisitAggregate::HistoryData::operator=(
    URLVisitAggregate::HistoryData&& other) = default;

URLVisitAggregate::HistoryData::~HistoryData() = default;

}  // namespace visited_url_ranking