This interface is implemented by nsIUrlClassifierHashCompleter clients.
[scriptable, uuid(bbd6c954-7cb4-4447-bc55-8cefd1ceed89)]
interface nsIUrlClassifierHashCompleterCallback : nsISupports
Methods
A complete hash has been found that matches the partial hash.
This method may be called 0-n times for a given
nsIUrlClassifierCompleter::complete() call.
@param hash
The 128-bit hash that was discovered.
@param table
The name of the table that this hash belongs to.
@param chunkId
The database chunk that this hash belongs to.
@param trusted
The completion was verified with a MAC and can be cached.
void
completion(in ACString hash, in ACString table, in PRUint32 chunkId, in PRBool trusted)
The completion is complete. This method is called once per
nsIUrlClassifierCompleter::complete() call, after all completion()
calls are finished.
@param status
NS_OK if the request completed successfully, or an error code.
void
completionFinished(in nsresult status)
Compare to: