зеркало из https://github.com/mozilla/pjs.git
Bug 328598 r=bryner Expire history as you browse for faster shutdown times.
Original committer: brettw%gmail.com Original revision: 1.69 Original date: 2006/04/10 22:29:32
This commit is contained in:
Родитель
b155f9de7f
Коммит
21e2affa57
|
@ -2205,6 +2205,19 @@ nsNavHistoryQueryResultNode::OnPageChanged(nsIURI *aURI, PRUint32 aWhat,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// nsNavHistoryQueryResultNode::OnPageExpired
|
||||||
|
//
|
||||||
|
// Do nothing. Perhaps we want to handle this case. If so, add the call to
|
||||||
|
// the result to enumerate the history observers.
|
||||||
|
|
||||||
|
NS_IMETHODIMP
|
||||||
|
nsNavHistoryQueryResultNode::OnPageExpired(nsIURI* aURI, PRTime aVisitTime,
|
||||||
|
PRBool aWholeEntry)
|
||||||
|
{
|
||||||
|
return NS_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// nsNavHistoryQueryResultNode bookmark observers
|
// nsNavHistoryQueryResultNode bookmark observers
|
||||||
//
|
//
|
||||||
// These are the bookmark observer functions for query nodes. They listen
|
// These are the bookmark observer functions for query nodes. They listen
|
||||||
|
@ -3713,6 +3726,20 @@ nsNavHistoryResult::OnPageChanged(nsIURI *aURI,
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// nsNavHistoryResult;:OnPageExpired (nsINavHistoryObserver)
|
||||||
|
//
|
||||||
|
// Don't do anything when pages expire. Perhaps we want to find the item
|
||||||
|
// to delete it.
|
||||||
|
|
||||||
|
NS_IMETHODIMP
|
||||||
|
nsNavHistoryResult::OnPageExpired(nsIURI* aURI, PRTime aVisitTime,
|
||||||
|
PRBool aWholeEntry)
|
||||||
|
{
|
||||||
|
return NS_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// nsNavHistoryResultTreeViewer ************************************************
|
// nsNavHistoryResultTreeViewer ************************************************
|
||||||
|
|
||||||
NS_IMPL_ADDREF(nsNavHistoryResultTreeViewer)
|
NS_IMPL_ADDREF(nsNavHistoryResultTreeViewer)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче