[ { "interfaces": [ { "base": "nsISupports", "callable": false, "consts": [], "enums": [], "id": "nsIFOG", "members": [ { "args": [ { "name": "aDataPathOverride", "optional": true, "type": "string" }, { "name": "aAppIdOverride", "optional": true, "type": "string" }, { "name": "aDisableInternalPings", "optional": true, "type": "boolean" } ], "iid_is": null, "name": "initializeFOG", "type": "void" }, { "name": "initialized", "readonly": true, "type": "boolean" }, { "args": [], "iid_is": null, "name": "registerCustomPings", "type": "void" }, { "args": [ { "name": "aEnableLogPings", "optional": false, "type": "boolean" } ], "iid_is": null, "name": "setLogPings", "type": "void" }, { "args": [ { "name": "aDebugTag", "optional": false, "type": "string" } ], "iid_is": null, "name": "setTagPings", "type": "void" }, { "args": [ { "name": "aPingName", "optional": false, "type": "string" } ], "iid_is": null, "name": "sendPing", "type": "void" }, { "args": [ { "name": "aExperimentId", "optional": false, "type": "string" }, { "name": "aBranch", "optional": false, "type": "string" }, { "name": "aExtra", "optional": true, "type": "any" } ], "iid_is": null, "name": "setExperimentActive", "type": "void" }, { "args": [ { "name": "aExperimentId", "optional": false, "type": "string" } ], "iid_is": null, "name": "setExperimentInactive", "type": "void" }, { "args": [ { "name": "aExperimentId", "optional": false, "type": "string" } ], "iid_is": null, "name": "testGetExperimentData", "type": "any" }, { "args": [ { "name": "aJsonConfig", "optional": false, "type": "string" } ], "iid_is": null, "name": "applyServerKnobsConfig", "type": "void" }, { "args": [], "iid_is": null, "name": "testFlushAllChildren", "type": "Promise" }, { "args": [ { "name": "aDataPathOverride", "optional": true, "type": "string" }, { "name": "aAppIdOverride", "optional": true, "type": "string" } ], "iid_is": null, "name": "testResetFOG", "type": "void" }, { "args": [], "iid_is": null, "name": "testShutdownFOG", "type": "void" }, { "args": [ { "name": "aProcessType", "optional": false, "type": "u32" } ], "iid_is": null, "name": "testTriggerMetrics", "type": "Promise" }, { "args": [ { "name": "aType", "optional": false, "type": "string" }, { "name": "aCategory", "optional": false, "type": "string" }, { "name": "aName", "optional": false, "type": "string" }, { "name": "aPings", "optional": false, "type": "string[]" }, { "name": "aLifetime", "optional": false, "type": "string" }, { "name": "aDisabled", "optional": false, "type": "boolean" }, { "name": "aInSession", "optional": false, "type": "boolean" }, { "name": "aExtraArgs", "optional": true, "type": "string" } ], "iid_is": null, "name": "testRegisterRuntimeMetric", "type": "u32" }, { "args": [ { "name": "aName", "optional": false, "type": "string" }, { "name": "aIncludeClientId", "optional": false, "type": "boolean" }, { "name": "aSendIfEmpty", "optional": false, "type": "boolean" }, { "name": "aPreciseTimestamps", "optional": false, "type": "boolean" }, { "name": "aIncludeInfoSections", "optional": false, "type": "boolean" }, { "name": "aEnabled", "optional": false, "type": "boolean" }, { "name": "aSchedulesPings", "optional": false, "type": "string[]" }, { "name": "aReasonCodes", "optional": false, "type": "string[]" }, { "name": "aFollowsCollectionEnabled", "optional": false, "type": "boolean" }, { "name": "aUploaderCapabilities", "optional": false, "type": "string[]" } ], "iid_is": null, "name": "testRegisterRuntimePing", "type": "u32" }, { "args": [], "iid_is": null, "name": "clearAttribution", "type": "void" }, { "args": [ { "name": "aSource", "optional": false, "type": "string" }, { "name": "aMedium", "optional": false, "type": "string" }, { "name": "aCampaign", "optional": false, "type": "string" }, { "name": "aTerm", "optional": false, "type": "string" }, { "name": "aContent", "optional": false, "type": "string" } ], "iid_is": null, "name": "updateAttribution", "type": "void" }, { "args": [], "iid_is": null, "name": "testGetAttribution", "type": "any" }, { "args": [], "iid_is": null, "name": "clearDistribution", "type": "void" }, { "args": [ { "name": "aName", "optional": false, "type": "string" } ], "iid_is": null, "name": "updateDistribution", "type": "void" }, { "args": [], "iid_is": null, "name": "testGetDistribution", "type": "any" }, { "args": [ { "name": "aType", "optional": false, "type": "string" }, { "name": "aCategory", "optional": false, "type": "string" }, { "name": "aName", "optional": false, "type": "string" }, { "name": "aPings", "optional": false, "type": "string[]" }, { "name": "aLifetime", "optional": false, "type": "string" }, { "name": "aDisabled", "optional": false, "type": "boolean" }, { "name": "aInSession", "optional": false, "type": "boolean" }, { "name": "aExtraArgs", "optional": true, "type": "string" } ], "iid_is": null, "name": "registerRuntimeMetric", "type": "void" }, { "args": [ { "name": "aName", "optional": false, "type": "string" }, { "name": "aIncludeClientId", "optional": false, "type": "boolean" }, { "name": "aSendIfEmpty", "optional": false, "type": "boolean" }, { "name": "aPreciseTimestamps", "optional": false, "type": "boolean" }, { "name": "aIncludeInfoSections", "optional": false, "type": "boolean" }, { "name": "aEnabled", "optional": false, "type": "boolean" }, { "name": "aSchedulesPings", "optional": false, "type": "string[]" }, { "name": "aReasonCodes", "optional": false, "type": "string[]" }, { "name": "aFollowsCollectionEnabled", "optional": false, "type": "boolean" }, { "name": "aUploaderCapabilities", "optional": false, "type": "string[]" } ], "iid_is": null, "name": "registerRuntimePing", "type": "void" } ] } ], "path": "toolkit/components/glean/xpcom/nsIFOG.idl", "typedefs": [ [ "PRTime", "i64" ] ] }, { "interfaces": [ { "base": "nsISupports", "callable": true, "consts": [], "enums": [], "id": "nsIGleanPingTestCallback", "members": [ { "args": [ { "name": "aReason", "optional": false, "type": "string" } ], "iid_is": null, "name": "call", "type": "void" } ] }, { "base": "nsISupports", "callable": true, "consts": [], "enums": [], "id": "nsIGleanPingSubmitCallback", "members": [ { "args": [], "iid_is": null, "name": "call", "type": "Promise" } ] }, { "base": "nsISupports", "callable": false, "consts": [], "enums": [], "id": "nsIGleanPing", "members": [ { "args": [ { "name": "aReason", "optional": true, "type": "string" } ], "iid_is": null, "name": "submit", "type": "void" }, { "args": [ { "name": "aCallback", "optional": false, "type": "nsIGleanPingTestCallback" } ], "iid_is": null, "name": "testBeforeNextSubmit", "type": "void" }, { "args": [ { "name": "aValue", "optional": false, "type": "boolean" } ], "iid_is": null, "name": "setEnabled", "type": "void" }, { "args": [ { "name": "aTestCallback", "optional": false, "type": "nsIGleanPingTestCallback" }, { "name": "aSubmitCallback", "optional": false, "type": "nsIGleanPingSubmitCallback" }, { "name": "aSubmitTimeoutMs", "optional": true, "type": "u32" } ], "iid_is": null, "name": "testSubmission", "type": "Promise" } ] } ], "path": "toolkit/components/glean/xpcom/nsIGleanPing.idl", "typedefs": [ [ "PRTime", "i64" ] ] } ]