Struct xpcom::interfaces::nsIBrowserProfileMigrator
[−]
[src]
#[repr(C)]pub struct nsIBrowserProfileMigrator { /* fields omitted */ }
interface nsIBrowserProfileMigrator : nsISupports
Methods
impl nsIBrowserProfileMigrator
[src]
pub fn coerce<T: nsIBrowserProfileMigratorCoerce>(&self) -> &T
[src]
Cast this nsIBrowserProfileMigrator
to one of its base interfaces.
impl nsIBrowserProfileMigrator
[src]
pub const ALL: i64
ALL: i64 = 0
/**
* profile items to migrate. use with migrate().
*/
pub const SETTINGS: i64
SETTINGS: i64 = 1
pub const COOKIES: i64
COOKIES: i64 = 2
pub const HISTORY: i64
HISTORY: i64 = 4
pub const FORMDATA: i64
FORMDATA: i64 = 8
pub const PASSWORDS: i64
PASSWORDS: i64 = 16
pub const BOOKMARKS: i64
BOOKMARKS: i64 = 32
pub const OTHERDATA: i64
OTHERDATA: i64 = 64
pub const SESSION: i64
SESSION: i64 = 128
pub unsafe fn GetSourceExists(&self, aSourceExists: *mut bool) -> nsresult
[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;
pub unsafe fn GetSourceHomePageURL(
&self,
aSourceHomePageURL: &mut nsACString
) -> nsresult
[src]
&self,
aSourceHomePageURL: &mut nsACString
) -> nsresult
/**
* The import source homepage. Returns null if not present/available
*/
readonly attribute AUTF8String sourceHomePageURL;
pub unsafe fn GetSourceLocked(&self, aSourceLocked: *mut bool) -> nsresult
[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>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIBrowserProfileMigrator
[src]
const IID: nsIID
IID: nsIID = nsID(582316028, 12617, 17349, [181, 169, 179, 166, 182, 120, 222, 147])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIBrowserProfileMigrator
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.