tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ReportingUtils.h (796B)


      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/. */
      6 
      7 #ifndef mozilla_dom_ReportingUtils_h
      8 #define mozilla_dom_ReportingUtils_h
      9 
     10 #include "nsString.h"
     11 
     12 class nsAtom;
     13 class nsIGlobalObject;
     14 
     15 namespace mozilla::dom {
     16 
     17 class ReportBody;
     18 
     19 class ReportingUtils final {
     20 public:
     21  static void Report(nsIGlobalObject* aGlobal, nsAtom* aType,
     22                     const nsAString& aGroupName, const nsAString& aURL,
     23                     ReportBody* aBody);
     24 };
     25 
     26 }  // namespace mozilla::dom
     27 
     28 #endif  // mozilla_dom_ReportingUtils_h