Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/netwerk/url-classifier/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quelle  AsyncUrlChannelClassifier.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_net_AsyncUrlChannelClassifier_h
#define mozilla_net_AsyncUrlChannelClassifier_h

#include "nsISupports.h"
#include <functional>

class nsIChannel;

namespace mozilla {
namespace net {

class AsyncUrlChannelClassifier final {
 public:
  // Warm up the classifier, i.e. launch the classifier thread and load the DB.
  static void WarmUp();

  static nsresult CheckChannel(nsIChannel* aChannel,
                               std::function<void()>&& aCallback);
};

class AntiTrackingChannelClassifierUtils final {
  static nsresult CheckChannelHelper(nsIChannel* aChannel,
                                     std::function<void()>&& aCallback,
                                     bool aPerformAnnotations,
                                     bool aPerformBlocking);

 public:
  static nsresult CheckChannelBeforeBeginConnect(
      nsIChannel* aChannel, std::function<void()>&& aCallback);
  static nsresult CheckChannelBeforeProcessResponse(
      nsIChannel* aChannel, std::function<void()>&& aCallback);
};

}  // namespace net
}  // namespace mozilla

#endif  // mozilla_net_AsyncUrlChannelClassifier_h

Messung V0.5 in Prozent
C=95 H=99 G=96

¤ Dauer der Verarbeitung: 0.17 Sekunden  (vorverarbeitet am  2026-08-25) ¤

*© 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.