Closed
Bug 492884
Opened 16 years ago
Closed 15 years ago
getMostRecentFolderForFeedURI should use the livemarks service instead of annos directly
Categories
(Toolkit :: Places, defect)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: dietrich, Assigned: mak)
Details
(Whiteboard: [TSnappiness])
Attachments
(1 file, 4 obsolete files)
9.22 KB,
patch
|
Details | Diff | Splinter Review |
using the livemark service would allow using the cache instead of hitting the db directly.
Assignee | ||
Updated•15 years ago
|
Whiteboard: Tsnap
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → mak77
Assignee | ||
Comment 1•15 years ago
|
||
Attachment #384100 -
Flags: review?(dietrich)
Assignee | ||
Updated•15 years ago
|
Flags: in-testsuite?
Reporter | ||
Comment 2•15 years ago
|
||
Comment on attachment 384100 [details] [diff] [review]
patch v1.0
>+ /**
>+ * Determines whether the feed URI is a currently registered livemark.
>+ *
>+ * @param aFeedURI
>+ * Feed URI to look for.
>+ *
>+ * @returns the found livemark folder id, or -1 if nothing was found.
>+ */
>+ long long getLivemarkForFeedURI(in nsIURI aFeedURI);
>
can you kill the whitespace on the following line
also, should be getLivemarkIdForFeedURI to be more explicit about what's returned.
> /**
>- * TODO: this should use the livemark service's cache of folder ids (bug 492884).
>+ * Get the most recently folder item id for a feed URI.
s/ly//
>+
>+const LMANNO_FEEDURI = "livemark/feedURI";
we should probably hang the internal annos off of PlacesUtils. please file a bug for this.
Attachment #384100 -
Flags: review?(dietrich) → review+
Assignee | ||
Comment 3•15 years ago
|
||
(In reply to comment #2)
> >+
> >+const LMANNO_FEEDURI = "livemark/feedURI";
>
> we should probably hang the internal annos off of PlacesUtils. please file a
> bug for this.
filed bug 499743
Assignee | ||
Comment 4•15 years ago
|
||
addressed comments
Attachment #384100 -
Attachment is obsolete: true
Assignee | ||
Comment 6•15 years ago
|
||
ugh, lost the test.
Attachment #384457 -
Attachment is obsolete: true
Assignee | ||
Comment 7•15 years ago
|
||
fix a typo, this should be finally ready for check-in.
Attachment #384465 -
Attachment is obsolete: true
Assignee | ||
Comment 8•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite? → in-testsuite+
Resolution: --- → FIXED
Whiteboard: Tsnap → [TSnappiness]
Target Milestone: --- → mozilla1.9.2a1
You need to log in
before you can comment on or make changes to this bug.
Description
•