Bug 1838729 - test(webgpu): accept observed intermittents in `backlog`
[gecko.git] / dom / reporting / ReportingUtils.h
blobee9726bed733ffd82aa1ba686e72659d4526b26f
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
5 * You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef mozilla_dom_ReportingUtils_h
8 #define mozilla_dom_ReportingUtils_h
10 #include "nsString.h"
12 class nsAtom;
13 class nsIGlobalObject;
15 namespace mozilla::dom {
17 class ReportBody;
19 class ReportingUtils final {
20 public:
21 static void Report(nsIGlobalObject* aGlobal, nsAtom* aType,
22 const nsAString& aGroupName, const nsAString& aURL,
23 ReportBody* aBody);
26 } // namespace mozilla::dom
28 #endif // mozilla_dom_ReportingUtils_h