#ifndef COMPONENTS_BROWSING_TOPICS_TEST_UTIL_H_
#define COMPONENTS_BROWSING_TOPICS_TEST_UTIL_H_
#include <optional>
#include "base/callback_list.h"
#include "base/containers/queue.h"
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
#include "components/browsing_topics/annotator.h"
#include "components/browsing_topics/browsing_topics_calculator.h"
#include "components/browsing_topics/browsing_topics_service.h"
#include "components/browsing_topics/mojom/browsing_topics_internals.mojom.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "third_party/blink/public/mojom/browsing_topics/browsing_topics.mojom.h"
namespace ukm {
class TestAutoSetUkmRecorder;
}
namespace browsing_topics {
struct ApiResultUkmMetrics { … };
std::vector<ApiResultUkmMetrics> ReadApiResultUkmMetrics(
const ukm::TestAutoSetUkmRecorder& ukm_recorder);
bool BrowsingTopicsEligibleForURLVisit(history::HistoryService* history_service,
const GURL& url);
class TesterBrowsingTopicsCalculator : public BrowsingTopicsCalculator { … };
class MockBrowsingTopicsService : public BrowsingTopicsService { … };
class TestAnnotator : public Annotator { … };
}
#endif