chromium/content/public/test/browsing_topics_test_util.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 "content/public/test/browsing_topics_test_util.h"

#include "base/task/single_thread_task_runner.h"
#include "base/test/bind.h"
#include "components/browsing_topics/common/common_types.h"
#include "content/browser/browsing_topics/browsing_topics_site_data_manager_impl.h"

namespace content {

std::vector<browsing_topics::ApiUsageContext> GetBrowsingTopicsApiUsage(
    content::BrowsingTopicsSiteDataManager* topics_site_data_manager) {}

std::map<browsing_topics::HashedDomain, std::string>
GetContextDomainsFromHashedContextDomains(
    content::BrowsingTopicsSiteDataManager* topics_site_data_manager,
    std::set<browsing_topics::HashedDomain> hashed_context_domains) {}

TesterBrowsingTopicsSiteDataManager::TesterBrowsingTopicsSiteDataManager(
    const base::FilePath& user_data_directory)
    :{}

void TesterBrowsingTopicsSiteDataManager::ExpireDataBefore(base::Time time) {}

void TesterBrowsingTopicsSiteDataManager::ClearContextDomain(
    const browsing_topics::HashedDomain& hashed_context_domain) {}

TesterBrowsingTopicsSiteDataManager::~TesterBrowsingTopicsSiteDataManager() =
    default;

void TesterBrowsingTopicsSiteDataManager::OnBrowsingTopicsApiUsed(
    const browsing_topics::HashedHost& hashed_top_host,
    const browsing_topics::HashedDomain& hashed_context_domain,
    const std::string& context_domain,
    base::Time time) {}

void TesterBrowsingTopicsSiteDataManager::GetBrowsingTopicsApiUsage(
    base::Time begin_time,
    base::Time end_time,
    GetBrowsingTopicsApiUsageCallback callback) {}

void TesterBrowsingTopicsSiteDataManager::
    GetContextDomainsFromHashedContextDomains(
        const std::set<browsing_topics::HashedDomain>& hashed_context_domains,
        GetContextDomainsFromHashedContextDomainsCallback callback) {}

}  // namespace content