Bug 766799 - Notify hidden visits to history observers.

Redirect sources and framed visits are considered hidden and thus not shown in
common UI history queries.  So far were not even notified, but the right thing
to do is to let the observer handle them based on its needs.
r=Mano sr=Mossop
This commit is contained in:
Marco Bonardo
2012-12-20 23:45:00 +01:00
parent 9ce846baaa
commit 32dc9ae234
12 changed files with 141 additions and 70 deletions

View File

@@ -2327,7 +2327,7 @@ NS_IMETHODIMP
nsDownloadManager::OnVisit(nsIURI *aURI, int64_t aVisitID, PRTime aTime,
int64_t aSessionID, int64_t aReferringID,
uint32_t aTransitionType, const nsACString& aGUID,
uint32_t *aAdded)
bool aHidden)
{
return NS_OK;
}