chromium/components/history/core/browser/sync/test_history_backend_for_sync.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/history/core/browser/sync/test_history_backend_for_sync.h"

#include <vector>

#include "testing/gtest/include/gtest/gtest.h"

namespace history {

TestHistoryBackendForSync::TestHistoryBackendForSync() = default;
TestHistoryBackendForSync::~TestHistoryBackendForSync() = default;

URLID TestHistoryBackendForSync::AddURL(URLRow row) {}

bool TestHistoryBackendForSync::UpdateURL(URLRow row) {}

VisitID TestHistoryBackendForSync::AddVisit(VisitRow row) {}

bool TestHistoryBackendForSync::UpdateVisit(VisitRow row) {}

void TestHistoryBackendForSync::AddOrReplaceContentAnnotation(
    VisitID visit_id,
    const VisitContentAnnotations& content_annotation) {}

void TestHistoryBackendForSync::RemoveURLAndVisits(URLID url_id) {}

void TestHistoryBackendForSync::Clear() {}

const std::vector<URLRow>& TestHistoryBackendForSync::GetURLs() const {}

const std::vector<VisitRow>& TestHistoryBackendForSync::GetVisits() const {}

const URLRow* TestHistoryBackendForSync::FindURLRow(const GURL& url) const {}

bool TestHistoryBackendForSync::CanAddURL(const GURL& url) const {}

bool TestHistoryBackendForSync::IsExpiredVisitTime(
    const base::Time& time) const {}

bool TestHistoryBackendForSync::GetURLByID(URLID url_id, URLRow* url_row) {}

bool TestHistoryBackendForSync::GetVisitByID(VisitID visit_id,
                                             VisitRow* visit_row) {}

bool TestHistoryBackendForSync::GetMostRecentVisitForURL(URLID id,
                                                         VisitRow* visit_row) {}

bool TestHistoryBackendForSync::GetLastVisitByTime(base::Time visit_time,
                                                   VisitRow* visit_row) {}

VisitVector TestHistoryBackendForSync::GetRedirectChain(VisitRow visit) {}

bool TestHistoryBackendForSync::GetForeignVisit(
    const std::string& originator_cache_guid,
    VisitID originator_visit_id,
    VisitRow* visit_row) {}

std::vector<AnnotatedVisit>
TestHistoryBackendForSync::ToAnnotatedVisitsFromRows(
    const VisitVector& visit_rows,
    bool compute_redirect_chain_start_properties) {}

VisitID TestHistoryBackendForSync::AddSyncedVisit(
    const GURL& url,
    const std::u16string& title,
    bool hidden,
    const VisitRow& visit,
    const std::optional<VisitContextAnnotations>& context_annotations,
    const std::optional<VisitContentAnnotations>& content_annotations) {}

VisitID TestHistoryBackendForSync::UpdateSyncedVisit(
    const GURL& url,
    const std::u16string& title,
    bool hidden,
    const VisitRow& visit,
    const std::optional<VisitContextAnnotations>& context_annotations,
    const std::optional<VisitContentAnnotations>& content_annotations) {}

bool TestHistoryBackendForSync::UpdateVisitReferrerOpenerIDs(
    VisitID visit_id,
    VisitID referrer_id,
    VisitID opener_id) {}

void TestHistoryBackendForSync::AddVisitToSyncedCluster(
    const ClusterVisit& cluster_visit,
    const std::string& originator_cache_guid,
    int64_t cluster_id) {}

int64_t TestHistoryBackendForSync::GetClusterIdContainingVisit(
    VisitID visit_id) {}

std::vector<GURL> TestHistoryBackendForSync::GetFaviconURLsForURL(
    const GURL& page_url) {}

void TestHistoryBackendForSync::MarkVisitAsKnownToSync(VisitID visit_id) {}

void TestHistoryBackendForSync::DeleteAllForeignVisitsAndResetIsKnownToSync() {}

void TestHistoryBackendForSync::AddObserver(HistoryBackendObserver* observer) {}

void TestHistoryBackendForSync::RemoveObserver(
    HistoryBackendObserver* observer) {}

bool TestHistoryBackendForSync::FindVisit(VisitID id, VisitRow* result) {}

const URLRow& TestHistoryBackendForSync::FindOrAddURL(
    const GURL& url,
    const std::u16string& title,
    bool hidden) {}

}  // namespace history