Struct xpcom::interfaces::nsIClassifiedChannel [] [src]

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

interface nsIClassifiedChannel : nsISupports

/**
 * nsIClassifiedChannel
 *
 * A channel may optionally implement this interface if it carries classified
 * result information of channel classifier. The information contains, for
 * example, the name of matched table and the name of matched provider.
 */

Methods

impl nsIClassifiedChannel
[src]

[src]

Cast this nsIClassifiedChannel to one of its base interfaces.

impl nsIClassifiedChannel
[src]

[src]

/**
   * Sets matched info of the classified channel.
   *
   * @param aList
   *        Name of the Safe Browsing list that matched (e.g. goog-phish-shavar).
   * @param aProvider
   *        Name of the Safe Browsing provider that matched (e.g. google)
   * @param aFullHash
   *        Full hash of URL that matched Safe Browsing list.
   */

void setMatchedInfo (in ACString aList, in ACString aProvider, in ACString aFullHash);

[src]

/**
   * Name of the list that matched
   */

readonly attribute ACString matchedList;

[src]

/**
   * Name of provider that matched
   */

readonly attribute ACString matchedProvider;

[src]

/**
   * Full hash of URL that matched
   */

readonly attribute ACString matchedFullHash;

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 nsIClassifiedChannel
[src]

IID: nsIID = nsID(1892638865, 41438, 19112, [130, 36, 5, 143, 137, 100, 190, 49])

[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 nsIClassifiedChannel
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIClassifiedChannel
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.