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:
benjamin%smedbergs.us 2006-07-18 18:35:48 +00:00
parent 81ff3de05b
commit c0cfedc3ea

View File

@ -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
//
// These are the bookmark observer functions for query nodes. They listen
@ -3713,6 +3726,20 @@ nsNavHistoryResult::OnPageChanged(nsIURI *aURI,
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 ************************************************
NS_IMPL_ADDREF(nsNavHistoryResultTreeViewer)