Bug 1676898 [wpt PR 26509] - Move wpt/css/composite-bgcolor-animation to wpt/css...
[gecko.git] / dom / reporting / ReportingUtils.h
blob8ea06715e6fa7986e73f4ea34d6c3a70cbd3b215
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 {
16 namespace dom {
18 class ReportBody;
20 class ReportingUtils final {
21 public:
22 static void Report(nsIGlobalObject* aGlobal, nsAtom* aType,
23 const nsAString& aGroupName, const nsAString& aURL,
24 ReportBody* aBody);
27 } // namespace dom
28 } // namespace mozilla
30 #endif // mozilla_dom_ReportingUtils_h