Bug 1920487 - QM: Rename helpers for resolving nsresult type; r=dom-storage-reviewers...
[gecko.git] / browser / actors / AboutProtectionsChild.sys.mjs
blob67ccc6754f08abf64c4214852e230a1726908137
1 /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this
4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 import { RemotePageChild } from "resource://gre/actors/RemotePageChild.sys.mjs";
8 export class AboutProtectionsChild extends RemotePageChild {
9   actorCreated() {
10     super.actorCreated();
12     this.exportFunctions(["RPMRecordGleanEvent"]);
13   }
15   RPMRecordGleanEvent(category, name, extra) {
16     Glean[category]?.[name]?.record(extra);
17   }