#include "components/user_notes/browser/frame_user_note_changes.h"
#include <memory>
#include <vector>
#include "base/memory/safe_ref.h"
#include "base/test/bind.h"
#include "base/test/gmock_callback_support.h"
#include "base/unguessable_token.h"
#include "components/user_notes/browser/user_note_base_test.h"
#include "components/user_notes/browser/user_note_instance.h"
#include "components/user_notes/model/user_note.h"
#include "content/public/browser/render_frame_host.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
Mock;
namespace user_notes {
namespace {
class MockUserNoteInstance : public UserNoteInstance { … };
class MockFrameUserNoteChanges : public FrameUserNoteChanges { … };
void MockInitializeHighlightIfNeeded(base::OnceClosure callback) { … }
std::unique_ptr<UserNoteInstance> MockMakeNoteInstance(
const UserNote* note_model,
UserNoteManager* manager) { … }
}
class FrameUserNoteChangesTest : public UserNoteBaseTest { … };
TEST_F(FrameUserNoteChangesTest, ApplyAddedNotes) { … }
TEST_F(FrameUserNoteChangesTest, ApplyModifiedNotes) { … }
TEST_F(FrameUserNoteChangesTest, ApplyRemovedNotes) { … }
}