Closed Bug 1846461 Opened 2 years ago Closed 1 month ago

Move QueryFolderChildren, QueryFolderChildrenAsync, ProcessFolderNodeRow to nsNavHistoryResult

Categories

(Toolkit :: Places, task, P3)

task

Tracking

()

RESOLVED FIXED
147 Branch
Tracking Status
firefox147 --- fixed

People

(Reporter: mak, Assigned: daisuke)

References

Details

(Whiteboard: [sng][places-tech-debt])

Attachments

(2 files)

These methods are only used by nsNavHistoryResult so it doesn't make sense to have them in the Bookmarks service.
Long term (after tags are converted) the Bookmarks service should be merged into renamed nsNavHistory anyway.

Methods that need a db connection can be moved into nsNavHistory, others into nsNavHistoryResult... we can eval.

Code renames/cleanups are welcome while doing this.

Moving ResultNodeForContainer to nsNavHistory would also be fine, along with the GUID version of FetchItemInfo() that is only used there.

Severity: S3 → N/A
Whiteboard: [sng][places-tech-debt]
Assignee: nobody → daisuke
Status: NEW → ASSIGNED
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/fa539356e80f https://hg.mozilla.org/integration/autoland/rev/66896bac6f53 Revert "Bug 1846461: Remove FetchItemInfo(guid) from nsNavBookmarks r=places-reviewers,mak" for causing build bustages @ nsNavHistoryResult.h
Flags: needinfo?(daisuke)
Pushed by chorotan@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/583e83c688f1 https://hg.mozilla.org/mozilla-central/rev/3d4495d84d36 Move logic that appends children of folder to nsNavHistoryResult r=places-reviewers,mak https://github.com/mozilla-firefox/firefox/commit/2cbee83350a3 https://hg.mozilla.org/mozilla-central/rev/4ec20930648c Remove FetchItemInfo(guid) from nsNavBookmarks r=places-reviewers,mak
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch
QA Whiteboard: [qa-triage-done-c148/b147]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: