Struct xpcom::interfaces::nsIBrowserProfileMigrator [] [src]

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

interface nsIBrowserProfileMigrator : nsISupports

Methods

impl nsIBrowserProfileMigrator
[src]

[src]

Cast this nsIBrowserProfileMigrator to one of its base interfaces.

impl nsIBrowserProfileMigrator
[src]

ALL: i64 = 0
/**
   * profile items to migrate. use with migrate().
   */

SETTINGS: i64 = 1

COOKIES: i64 = 2

HISTORY: i64 = 4

FORMDATA: i64 = 8

PASSWORDS: i64 = 16

BOOKMARKS: i64 = 32

OTHERDATA: i64 = 64

SESSION: i64 = 128

[src]

/**
   * Whether or not there is any data that can be imported from this
   * browser (i.e. whether or not it is installed, and there exists
   * a user profile)
   */

readonly attribute boolean sourceExists;

[src]

/**
   * The import source homepage.  Returns null if not present/available
   */

readonly attribute AUTF8String sourceHomePageURL;

[src]

/**
   * Whether the source browser data is locked/in-use meaning migration likely
   * won't succeed and the user should be warned.
   */

readonly attribute boolean sourceLocked;

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

IID: nsIID = nsID(582316028, 12617, 17349, [181, 169, 179, 166, 182, 120, 222, 147])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIBrowserProfileMigrator
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.