// 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. #ifndef COMPONENTS_PAGE_CONTENT_ANNOTATIONS_CORE_PAGE_CONTENT_ANNOTATOR_H_ #define COMPONENTS_PAGE_CONTENT_ANNOTATIONS_CORE_PAGE_CONTENT_ANNOTATOR_H_ #include <optional> #include <string> #include <vector> #include "base/functional/callback.h" #include "components/optimization_guide/core/model_info.h" #include "components/page_content_annotations/core/page_content_annotations_common.h" namespace page_content_annotations { BatchAnnotationCallback; // A virtual interface that is called to run a page content annotation. This // interface can be implemented by testing mocks. class PageContentAnnotator { … }; } // namespace page_content_annotations #endif // COMPONENTS_PAGE_CONTENT_ANNOTATIONS_CORE_PAGE_CONTENT_ANNOTATOR_H_