#include "chrome/browser/companion/text_finder/text_finder_manager_base_test.h"
#include <memory>
#include <string>
#include <vector>
#include "chrome/test/base/testing_profile.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/page.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/test/navigation_simulator.h"
#include "content/public/test/web_contents_tester.h"
#include "services/service_manager/public/cpp/interface_provider.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace companion {
namespace {
constexpr char kBaseUrl[] = …;
}
MockAnnotationAgentContainer::MockAnnotationAgentContainer() = default;
MockAnnotationAgentContainer::~MockAnnotationAgentContainer() = default;
void MockAnnotationAgentContainer::MockCreateAgent(
mojo::PendingRemote<blink::mojom::AnnotationAgentHost> host_remote,
mojo::PendingReceiver<blink::mojom::AnnotationAgent> agent_receiver,
blink::mojom::AnnotationType type,
const std::string& serialized_selector) { … }
void MockAnnotationAgentContainer::Bind(mojo::ScopedMessagePipeHandle handle) { … }
TextFinderManagerBaseTest::TextFinderManagerBaseTest() = default;
TextFinderManagerBaseTest::~TextFinderManagerBaseTest() = default;
void TextFinderManagerBaseTest::SetUp() { … }
void TextFinderManagerBaseTest::TearDown() { … }
std::unique_ptr<content::BrowserContext>
TextFinderManagerBaseTest::CreateBrowserContext() { … }
TextFinderManager* TextFinderManagerBaseTest::CreateTextFinderManagerForTest(
MockAnnotationAgentContainer* mock_container) { … }
}