#include "components/page_content_annotations/core/test_page_content_annotator.h"
#include "base/task/sequenced_task_runner.h"
namespace page_content_annotations {
TestPageContentAnnotator::~TestPageContentAnnotator() = default;
TestPageContentAnnotator::TestPageContentAnnotator() = default;
void TestPageContentAnnotator::Annotate(BatchAnnotationCallback callback,
const std::vector<std::string>& inputs,
AnnotationType annotation_type) { … }
void TestPageContentAnnotator::SetAlwaysHang(bool hang) { … }
std::optional<optimization_guide::ModelInfo>
TestPageContentAnnotator::GetModelInfoForType(
AnnotationType annotation_type) const { … }
void TestPageContentAnnotator::UseVisibilityScores(
const std::optional<optimization_guide::ModelInfo>& model_info,
const base::flat_map<std::string, double>& visibility_scores_for_input) { … }
bool TestPageContentAnnotator::ModelRequestedForType(
AnnotationType type) const { … }
void TestPageContentAnnotator::RequestAndNotifyWhenModelAvailable(
AnnotationType type,
base::OnceCallback<void(bool)> callback) { … }
}