chromium/chrome/browser/companion/text_finder/text_finder_manager_base_test.h

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_COMPANION_TEXT_FINDER_TEXT_FINDER_MANAGER_BASE_TEST_H_
#define CHROME_BROWSER_COMPANION_TEXT_FINDER_TEXT_FINDER_MANAGER_BASE_TEST_H_

#include <memory>
#include <vector>

#include "base/test/scoped_feature_list.h"
#include "chrome/browser/companion/text_finder/text_finder_manager.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/test_renderer_host.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "third_party/blink/public/mojom/annotation/annotation.mojom.h"

namespace companion {

// Mock implementation of the renderer's AnnotationAgentContainer interface.
class MockAnnotationAgentContainer
    : public blink::mojom::AnnotationAgentContainer {};

// A base test harness for `TextFinderManager` unit tests. Exposes methods to
// create a new `TextFinderManager`, and attach it to mock pages.
class TextFinderManagerBaseTest : public content::RenderViewHostTestHarness {};

}  // namespace companion

#endif  // CHROME_BROWSER_COMPANION_TEXT_FINDER_TEXT_FINDER_MANAGER_BASE_TEST_H_