Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/cookie/nsICookieJarSettings.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsICookieJarSettings",
base: Some("nsISerializable"),
sync: false,
methods: Ok(&[
/* [infallible] readonly attribute unsigned long cookieBehavior; */
Method {
name: "GetCookieBehavior",
params: &[Param { name: "aCookieBehavior", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
/* [infallible] readonly attribute boolean isFirstPartyIsolated; */
Method {
name: "GetIsFirstPartyIsolated",
params: &[Param { name: "aIsFirstPartyIsolated", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* [infallible] readonly attribute boolean shouldResistFingerprinting; */
Method {
name: "GetShouldResistFingerprinting",
params: &[Param { name: "aShouldResistFingerprinting", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* [infallible] readonly attribute boolean rejectThirdPartyContexts; */
Method {
name: "GetRejectThirdPartyContexts",
params: &[Param { name: "aRejectThirdPartyContexts", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* [infallible] readonly attribute boolean limitForeignContexts; */
Method {
name: "GetLimitForeignContexts",
params: &[Param { name: "aLimitForeignContexts", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* [infallible] readonly attribute boolean blockingAllThirdPartyContexts; */
Method {
name: "GetBlockingAllThirdPartyContexts",
params: &[Param { name: "aBlockingAllThirdPartyContexts", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* [infallible] readonly attribute boolean blockingAllContexts; */
Method {
name: "GetBlockingAllContexts",
params: &[Param { name: "aBlockingAllContexts", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* [infallible] attribute boolean partitionForeign; */
Method {
name: "GetPartitionForeign",
params: &[Param { name: "aPartitionForeign", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetPartitionForeign",
params: &[Param { name: "aPartitionForeign", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* [infallible] readonly attribute boolean isOnContentBlockingAllowList; */
Method {
name: "GetIsOnContentBlockingAllowList",
params: &[Param { name: "aIsOnContentBlockingAllowList", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString partitionKey; */
Method {
name: "GetPartitionKey",
params: &[Param { name: "aPartitionKey", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<uint8_t> fingerprintingRandomizationKey; */
Method {
name: "GetFingerprintingRandomizationKey",
params: &[Param { name: "aFingerprintingRandomizationKey", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* unsigned long cookiePermission (in nsIPrincipal aPrincipal); */
Method {
name: "CookiePermission",
params: &[Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "_retval", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
/* void initWithURI (in nsIURI aURI, in boolean aIsPrivate); */
Method {
name: "InitWithURI",
params: &[Param { name: "aURI", ty: "*const nsIURI" }, Param { name: "aIsPrivate", ty: "bool" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}