mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-10 05:47:04 +00:00
Bug 235915, RemovePage method is no longer part of nsIBrowserHistory interface, patch by bsmedsberg, r=mconnor
This commit is contained in:
parent
79d464768a
commit
e82a70a5f7
@ -64,6 +64,11 @@ interface nsIBrowserHistory : nsIGlobalHistory2
|
||||
*/
|
||||
readonly attribute PRUint32 count;
|
||||
|
||||
/**
|
||||
* remove a page from history
|
||||
*/
|
||||
void removePage(in string aURI);
|
||||
|
||||
/**
|
||||
* removePagesFromHost
|
||||
* Remove all pages from the given host.
|
||||
|
@ -1090,7 +1090,7 @@ nsGlobalHistory::SetPageTitle(nsIURI *aURI, const nsAString& aTitle)
|
||||
}
|
||||
|
||||
|
||||
nsresult
|
||||
NS_IMETHODIMP
|
||||
nsGlobalHistory::RemovePage(const char *aURL)
|
||||
{
|
||||
mdb_err err;
|
||||
|
@ -178,7 +178,6 @@ protected:
|
||||
//
|
||||
// expiration/removal stuff
|
||||
//
|
||||
nsresult RemovePage(const char *aURL);
|
||||
PRInt32 mExpireDays;
|
||||
nsresult ExpireEntries(PRBool notify);
|
||||
nsresult RemoveMatchingRows(rowMatchCallback aMatchFunc,
|
||||
|
Loading…
Reference in New Issue
Block a user