Bug 235915, RemovePage method is no longer part of nsIBrowserHistory interface, patch by bsmedsberg, r=mconnor

This commit is contained in:
mconnor%myrealbox.com 2004-05-05 23:43:23 +00:00
Родитель 79d464768a
Коммит e82a70a5f7
3 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -64,6 +64,11 @@ interface nsIBrowserHistory : nsIGlobalHistory2
*/ */
readonly attribute PRUint32 count; readonly attribute PRUint32 count;
/**
* remove a page from history
*/
void removePage(in string aURI);
/** /**
* removePagesFromHost * removePagesFromHost
* Remove all pages from the given host. * 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) nsGlobalHistory::RemovePage(const char *aURL)
{ {
mdb_err err; mdb_err err;

Просмотреть файл

@ -178,7 +178,6 @@ protected:
// //
// expiration/removal stuff // expiration/removal stuff
// //
nsresult RemovePage(const char *aURL);
PRInt32 mExpireDays; PRInt32 mExpireDays;
nsresult ExpireEntries(PRBool notify); nsresult ExpireEntries(PRBool notify);
nsresult RemoveMatchingRows(rowMatchCallback aMatchFunc, nsresult RemoveMatchingRows(rowMatchCallback aMatchFunc,