зеркало из https://github.com/mozilla/gecko-dev.git
Bug 235915, RemovePage method is no longer part of nsIBrowserHistory interface, patch by bsmedsberg, r=mconnor
This commit is contained in:
Родитель
79d464768a
Коммит
e82a70a5f7
|
@ -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,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче