#include "components/user_notes/browser/user_note_base_test.h"
#include <memory>
#include <string>
#include <vector>
#include "components/user_notes/model/user_note_model_test_utils.h"
#include "components/user_notes/user_notes_features.h"
#include "content/public/browser/page.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/test/navigation_simulator.h"
#include "services/service_manager/public/cpp/interface_provider.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace user_notes {
namespace {
const char kBaseUrl[] = …;
}
MockAnnotationAgentContainer::MockAnnotationAgentContainer() = default;
MockAnnotationAgentContainer::~MockAnnotationAgentContainer() = default;
MockAnnotationAgent::MockAnnotationAgent() = default;
MockAnnotationAgent::~MockAnnotationAgent() = default;
UserNoteBaseTest::UserNoteBaseTest() { … }
UserNoteBaseTest::~UserNoteBaseTest() = default;
void UserNoteBaseTest::SetUp() { … }
void UserNoteBaseTest::CreateService() { … }
void UserNoteBaseTest::TearDown() { … }
void UserNoteBaseTest::AddNewNotesToService(size_t count) { … }
void UserNoteBaseTest::AddPartialNotesToService(size_t count) { … }
UserNoteManager* UserNoteBaseTest::ConfigureNewManager(
MockAnnotationAgentContainer* mock_container) { … }
void UserNoteBaseTest::AddNewInstanceToManager(UserNoteManager* manager,
base::UnguessableToken note_id) { … }
size_t UserNoteBaseTest::ManagerCountForId(
const base::UnguessableToken& note_id) { … }
bool UserNoteBaseTest::DoesModelExist(const base::UnguessableToken& note_id) { … }
bool UserNoteBaseTest::DoesPartialModelExist(
const base::UnguessableToken& note_id) { … }
bool UserNoteBaseTest::DoesManagerExistForId(
const base::UnguessableToken& note_id,
UserNoteManager* manager) { … }
size_t UserNoteBaseTest::ModelMapSize() { … }
size_t UserNoteBaseTest::CreationMapSize() { … }
size_t UserNoteBaseTest::InstanceMapSize(UserNoteManager* manager) { … }
}