#include "components/user_notes/browser/frame_user_note_changes.h"
#include "base/barrier_callback.h"
#include "components/user_notes/browser/user_note_manager.h"
#include "components/user_notes/model/user_note.h"
#include "components/user_notes/model/user_note_target.h"
#include "content/public/browser/render_frame_host.h"
namespace user_notes {
FrameUserNoteChanges::FrameUserNoteChanges(
base::SafeRef<UserNoteService> service,
content::WeakDocumentPtr document,
const ChangeList& notes_added,
const ChangeList& notes_modified,
const ChangeList& notes_removed)
: … { … }
FrameUserNoteChanges::FrameUserNoteChanges(
base::SafeRef<UserNoteService> service,
content::WeakDocumentPtr document,
ChangeList&& notes_added,
ChangeList&& notes_modified,
ChangeList&& notes_removed)
: … { … }
FrameUserNoteChanges::FrameUserNoteChanges(FrameUserNoteChanges&& other) =
default;
FrameUserNoteChanges::~FrameUserNoteChanges() = default;
void FrameUserNoteChanges::Apply(base::OnceClosure callback) { … }
std::unique_ptr<UserNoteInstance> FrameUserNoteChanges::MakeNoteInstance(
const UserNote* note_model,
UserNoteManager* manager) const { … }
}