Struct xpcom::interfaces::nsIApplicationReputationService [] [src]

#[repr(C)]
pub struct nsIApplicationReputationService { /* fields omitted */ }

interface nsIApplicationReputationService : nsISupports

Methods

impl nsIApplicationReputationService
[src]

[src]

Cast this nsIApplicationReputationService to one of its base interfaces.

impl nsIApplicationReputationService
[src]

VERDICT_SAFE: i64 = 0
/**
   * Indicates the reason for the application reputation block.
   */

VERDICT_DANGEROUS: i64 = 1

VERDICT_UNCOMMON: i64 = 2

VERDICT_POTENTIALLY_UNWANTED: i64 = 3

VERDICT_DANGEROUS_HOST: i64 = 4

[src]

/**
   * Start querying the application reputation service.
   *
   * @param aQuery
   *        The nsIApplicationReputationQuery containing metadata of the
   *        downloaded file.
   *
   * @param aCallback
   *        The callback for receiving the results of the query.
   *
   * @remarks aCallback may not be null.  onComplete is guaranteed to be called
   *          on aCallback. This function may not be called more than once with
   *          the same query object. If any of the attributes of aQuery have
   *          not been set or have been set with empty data (with the exception
   *          of sourceURI), then a valid request can still be constructed and
   *          will solicit a valid response, but won't produce any useful
   *          information.
   */

void queryReputation (in nsIApplicationReputationQuery aQuery, in nsIApplicationReputationCallback aCallback);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIApplicationReputationService
[src]

IID: nsIID = nsID(3387962489, 64872, 17299, [172, 178, 200, 141, 79, 86, 49, 116])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIApplicationReputationService
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIApplicationReputationService
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.