Closed Bug 751608 Opened 12 years ago Closed 12 years ago

Remove the never implemented hidePage method

Categories

(Toolkit :: Places, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: mak, Assigned: marco)

References

Details

(Keywords: addon-compat, dev-doc-complete)

Attachments

(1 file, 1 obsolete file)

hidePage has never been implemented, we should just remove it from nsIBrowserHistory and remove its non-implementation
Attached patch Patch (obsolete) — Splinter Review
Assignee: nobody → mar.castelluccio
Status: NEW → ASSIGNED
Attachment #620778 - Flags: review?(mak77)
Comment on attachment 620778 [details] [diff] [review]
Patch

Review of attachment 620778 [details] [diff] [review]:
-----------------------------------------------------------------

looks like you forgot the non-implementation: http://mxr.mozilla.org/mozilla-central/source/toolkit/components/places/nsNavHistory.cpp#3223
Attachment #620778 - Flags: review?(mak77)
Attached patch Patch v2Splinter Review
Oops, looks like I searched "hidePage" through mxr with the case sensitive option :)
Attachment #620778 - Attachment is obsolete: true
Attachment #621035 - Flags: review?(mak77)
Comment on attachment 621035 [details] [diff] [review]
Patch v2

Review of attachment 621035 [details] [diff] [review]:
-----------------------------------------------------------------

Needs SR and...

::: toolkit/components/places/nsIBrowserHistory.idl
@@ -158,5 @@
> -     *
> -     * @note If the page hasn't been visited yet, then it will be added
> -     *       as if it was visited, and then marked as hidden
> -     */
> -    void hidePage(in nsIURI aURI);

Need to rev the uuid, unless you land this in the same push with bug 739221, that is already doing that.
Attachment #621035 - Flags: superreview?(gavin.sharp)
Attachment #621035 - Flags: review?(mak77)
Attachment #621035 - Flags: review+
> Need to rev the uuid, unless you land this in the same push with bug 739221,
> that is already doing that.

This was the plan :)
Attachment #621035 - Flags: superreview?(gavin.sharp) → superreview+
We should land this along with bug 739221.
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/45bfaaa0da83
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Removed from documentation:

https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIBrowserHistory

This is mentioned on Firefox 15 for developers as well.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: