Name Description Size
chromium
ChunkSet.cpp 6354
ChunkSet.h Store the chunk numbers as an array of ranges of uint32_t. We need chunk numbers in order to ask for incremental updates from the server. 2600
Classifier.cpp 56746
Classifier.h Maintains the stores and LookupCaches for the url classifier. 8915
components.conf 1371
docs
Entries.h 9338
HashStore.cpp 35341
HashStore.h 10415
IUrlClassifierUITelemetry.idl 2310
LookupCache.cpp 34926
LookupCache.h 10489
LookupCacheV4.cpp 17698
LookupCacheV4.h 2349
metrics.yaml 18504
moz.build 2508
nsCheckSummedOutputStream.cpp 2949
nsCheckSummedOutputStream.h 2806
nsIUrlClassifierDBService.idl The nsIUrlClassifierUpdateObserver interface is implemented by clients streaming updates to the url-classifier (usually nsUrlClassifierStreamUpdater. 8317
nsIUrlClassifierHashCompleter.idl This interface contains feilds in Matches object of FullHashResponse(V4). Reference from: https://developers.google.com/safe-browsing/v4/update-api#http-post-response_2 3497
nsIUrlClassifierInfo.idl nsIUrlClassifierPositiveCacheEntry Represents a positive cache entry. 2139
nsIUrlClassifierPrefixSet.idl 1238
nsIUrlClassifierRemoteSettingsService.idl A service that serves Safe Browsing list data (V2 protocol) via Remote Settings. 984
nsIUrlClassifierStreamUpdater.idl This is a class to manage large table updates from the server. Rather than downloading the whole update and then updating the sqlite database, we update tables as the data is streaming in. 1912
nsIUrlClassifierUtils.idl Some utility methods used by the url classifier. 6466
nsIUrlListManager.idl Interface for a class that manages updates of the url classifier database. 3060
nsUrlClassifierDBService.cpp 83000
nsUrlClassifierDBService.h 8960
nsUrlClassifierInfo.cpp 2326
nsUrlClassifierInfo.h 1588
nsUrlClassifierPrefixSet.cpp 18645
nsUrlClassifierPrefixSet.h 3238
nsUrlClassifierProxies.cpp 9434
nsUrlClassifierProxies.h Thread proxy from the main thread to the worker thread. 11580
nsUrlClassifierStreamUpdater.cpp Clear out the update. 30557
nsUrlClassifierStreamUpdater.h 4356
nsUrlClassifierUtils.cpp 37730
nsUrlClassifierUtils.h 2570
ProtocolParser.cpp 34112
ProtocolParser.h Abstract base class for parsing update data in multiple formats. 6738
RiceDeltaDecoder.cpp 7175
RiceDeltaDecoder.h 1445
SafeBrowsing.sys.mjs 16354
tests
UrlClassifierHashCompleter.sys.mjs 28802
URLClassifierIPCUtils.h 1566
UrlClassifierLib.sys.mjs @param maxErrors Number of times to request before backing off. @param retryIncrement Time (ms) for each retry before backing off. @param maxRequests Number the number of requests needed to trigger backoff @param requestPeriod Number time (ms) in which maxRequests have to occur to trigger the backoff behavior (0 to disable maxRequests) @param timeoutIncrement Number time (ms) the starting timeout period we double this time for consecutive errors @param maxTimeout Number time (ms) maximum timeout period @param tolerance Checking next request tolerance. 5773
UrlClassifierListManager.sys.mjs A ListManager keeps track of exception and block lists and knows how to update them. 25995
UrlClassifierRemoteSettingsService.sys.mjs 4309
UrlClassifierTelemetryUtils.cpp 3547
UrlClassifierTelemetryUtils.h 936
VariableLengthPrefixSet.cpp 15716
VariableLengthPrefixSet.h 2583