Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  IntegrityViolationReportBody.h

  Sprache: C
 

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


#ifndef mozilla_dom_IntegrityViolationReportBody_h
#define mozilla_dom_IntegrityViolationReportBody_h

#include "mozilla/dom/Nullable.h"
#include "mozilla/dom/ReportBody.h"
#include "mozilla/dom/ReportingBinding.h"

namespace mozilla::dom {

class IntegrityViolationReportBody final : public ReportBody {
 public:
  IntegrityViolationReportBody(
      nsIGlobalObject* aGlobal, const nsACString& aDocumentURL,
      const nsACString& aBlockedURL, const nsACString& aDestination,
      const bool aReportOnly,
      const Nullable<IntegrityViolationReason> aReason = nullptr);

  JSObject* WrapObject(JSContext* aCx,
                       JS::Handle<JSObject*> aGivenProto) override;

  void GetDocumentURL(nsACString& aURL) const;

  void GetBlockedURL(nsACString& aURL) const;

  void GetDestination(nsACString& aDestination) const;

  bool ReportOnly() const;

  Nullable<IntegrityViolationReason> GetReason() const;

 protected:
  void ToJSON(JSONWriter& aJSONWriter) const override;

 private:
  ~IntegrityViolationReportBody();

  const nsCString mDocumentURL;
  const nsCString mBlockedURL;
  const nsCString mDestination;
  const bool mReportOnly;
  const Nullable<IntegrityViolationReason> mReason;
};

}  // namespace mozilla::dom

#endif  // mozilla_dom_IntegrityViolationReportBody_h

Messung V0.5 in Prozent
C=90 H=95 G=92

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=141584
#Domains=738142