Class ContentBlockingController.TrackingDbEvent

Object
org.mozilla.geckoview.ContentBlockingController.TrackingDbEvent
Enclosing class:
ContentBlockingController

@AnyThread public static class ContentBlockingController.TrackingDbEvent extends Object
An entry from the content blocking aggregate database. The tracker type constants are expected to match the same from nsITrackingDBService.
  • Field Details

    • OTHER_COOKIES_BLOCKED_ID

      public static final int OTHER_COOKIES_BLOCKED_ID
      Generic cookies.
      See Also:
    • TRACKERS_ID

      public static final int TRACKERS_ID
      Generic tracking scripts.
      See Also:
    • TRACKING_COOKIES_ID

      public static final int TRACKING_COOKIES_ID
      Generic tracking cookies.
      See Also:
    • CRYPTOMINERS_ID

      public static final int CRYPTOMINERS_ID
      Cryptocurrency miners.
      See Also:
    • FINGERPRINTERS_ID

      public static final int FINGERPRINTERS_ID
      Fingerprinting trackers.
      See Also:
    • SOCIAL_ID

      public static final int SOCIAL_ID
      Social trackers from the social-track-digest256 list.
      See Also:
    • SUSPICIOUS_FINGERPRINTERS_ID

      public static final int SUSPICIOUS_FINGERPRINTERS_ID
      Scripts potentially aiding in fingerprinting.
      See Also:
    • BOUNCETRACKERS_ID

      public static final int BOUNCETRACKERS_ID
      Redirect-based trackers. [Bounce tracking mitigations](https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Bounce_tracking_mitigations)
      See Also:
    • type

      public final int type
      The tracker type for this event.
    • count

      public final int count
      The aggregated count for this type on the given date.
    • date

      @Nullable public final String date
      The date for this event, in "YYYY-MM-DD" format. May be null if this is not known.
  • Constructor Details

    • TrackingDbEvent

      protected TrackingDbEvent()
      Protected constructor for TrackingDBEvent.