Bug 1175562 - Persist last update time for SafeBrowsing. r=francois
This commit is contained in:
@@ -368,6 +368,15 @@ Classifier::MarkSpoiled(nsTArray<nsCString>& aTables)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
Classifier::SetLastUpdateTime(const nsACString &aTable,
|
||||
uint64_t updateTime)
|
||||
{
|
||||
LOG(("Marking table %s as last updated on %u",
|
||||
PromiseFlatCString(aTable).get(), updateTime));
|
||||
mTableFreshness.Put(aTable, updateTime / PR_MSEC_PER_SEC);
|
||||
}
|
||||
|
||||
void
|
||||
Classifier::DropStores()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user