Bug 1360480 - about:url-classifier: Cache information. r=francois

MozReview-Commit-ID: 4YXtb2KPgwL
This commit is contained in:
DimiL
2017-05-17 10:32:33 +08:00
parent 75f2175e94
commit c8f160ac4e
18 changed files with 651 additions and 35 deletions

View File

@@ -886,6 +886,18 @@ Classifier::ApplyFullHashes(nsTArray<TableUpdate*>* aUpdates)
return NS_OK;
}
void
Classifier::GetCacheInfo(const nsACString& aTable,
nsIUrlClassifierCacheInfo** aCache)
{
LookupCache* lookupCache = GetLookupCache(aTable);
if (!lookupCache) {
return;
}
lookupCache->GetCacheInfo(aCache);
}
void
Classifier::DropStores()
{