WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIUrlClassifierHashCompleterCallback

IID:bbd6c954-7cb4-4447-bc55-8cefd1ceed89
Inherits From:nsISupports

This interface is implemented by nsIUrlClassifierHashCompleter clients.


Methods

void completion ( ACString hash , ACString table , PRUint32 chunkId ) void completionFinished ( nsresult status )

void completion ( ACString hash , ACString table , PRUint32 chunkId )

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.

Arguments:
hash: The 128-bit hash that was discovered.
table: The name of the table that this hash belongs to.
chunkId: The database chunk that this hash belongs to.

void completionFinished ( nsresult status )

The completion is complete. This method is called once per nsIUrlClassifierCompleter::complete() call, after all completion() calls are finished.

Arguments:
status: NS_OK if the request completed successfully, or an error code.

References

This interface is passed as an argument to the following methods:

nsIUrlClassifierHashCompleter.complete

Reference documentation is generated from Mozilla's source.