Name Description Size Coverage CI issues
chromium -
ChunkSet.cpp 6273 -
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. 2517 -
Classifier.cpp 59307 -
Classifier.h Maintains the stores and LookupCaches for the url classifier. 8872 -
components.conf 1654 -
Entries.h 9285 -
HashStore.cpp 35267 -
HashStore.h 10421 -
IUrlClassifierUITelemetry.idl 2233 -
LookupCache.cpp 34803 -
LookupCache.h 10371 -
LookupCacheV4.cpp 17656 -
LookupCacheV4.h 2266 -
metrics.yaml 22641 -
moz.build 3063 -
nsCheckSummedOutputStream.cpp 2868 -
nsCheckSummedOutputStream.h 2723 -
nsIUrlClassifierDBService.idl The nsIUrlClassifierUpdateObserver interface is implemented by clients streaming updates to the url-classifier (usually nsUrlClassifierStreamUpdater. 9077 -
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. 2058 -
nsIUrlClassifierPrefixSet.idl 1158 -
nsIUrlClassifierRealTimeKeyService.idl A service that provides the OHTTP key config for Safe Browsing real-time checks, served via Remote Settings. Parent process, main thread only. Once getKeyConfig() has been called, the service notifies the "safebrowsing-realtime-key-changed" topic whenever a Remote Settings sync changes the key config. Observers should call getKeyConfig() again to get the new value. 954 -
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. 2068 -
nsIUrlClassifierTestUtils.idl Some utility methods used by the url classifier test suite. 2765 -
nsIUrlClassifierUtils.idl Some utility methods used by the url classifier. 7580 -
nsIUrlListManager.idl Interface for a class that manages updates of the url classifier database. 2980 -
nsUrlClassifierDBService.cpp 98979 -
nsUrlClassifierDBService.h 9682 -
nsUrlClassifierInfo.cpp 2205 -
nsUrlClassifierInfo.h 1467 -
nsUrlClassifierPrefixSet.cpp 18524 -
nsUrlClassifierPrefixSet.h 3094 -
nsUrlClassifierProxies.cpp 9719 -
nsUrlClassifierProxies.h Thread proxy from the main thread to the worker thread. 11694 -
nsUrlClassifierStreamUpdater.cpp Clear out the update. 31618 -
nsUrlClassifierStreamUpdater.h 4508 -
nsUrlClassifierTestUtils.cpp 6273 -
nsUrlClassifierTestUtils.h 667 -
nsUrlClassifierUtils.cpp 41722 -
nsUrlClassifierUtils.h 2607 -
ProtocolParser.cpp 49602 -
ProtocolParser.h Abstract base class for parsing update data in multiple formats. 8806 -
RealTimeRequestSimulator.cpp static 12569 -
RealTimeRequestSimulator.h 2413 -
RiceDeltaDecoder.cpp 15317 -
RiceDeltaDecoder.h 3907 -
SafeBrowsing.sys.mjs 18376 -
<1%tests -
UrlClassifierHashCompleter.sys.mjs 35543 -
URLClassifierIPCUtils.h 918 -
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. 5776 -
UrlClassifierListManager.sys.mjs A ListManager keeps track of exception and block lists and knows how to update them. 34058 -
UrlClassifierRealTimeKeyService.sys.mjs Parses the "latest" record of the collection into the OHTTP key config bytes (RFC 9458 Section 3.1), or null if the record is missing or invalid. @param {object[]} records @returns {Uint8Array|null} 2643 -
UrlClassifierRemoteSettingsService.sys.mjs 4309 -
UrlClassifierTelemetryUtils.cpp 3515 -
UrlClassifierTelemetryUtils.h 817 -
VariableLengthPrefixSet.cpp static 18405 -
VariableLengthPrefixSet.h 2541 -