Class ContentBlocking.CookieBehavior

Object
org.mozilla.geckoview.ContentBlocking.CookieBehavior
Enclosing class:
ContentBlocking

public static class ContentBlocking.CookieBehavior extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Accept first-party and third-party cookies and site data.
    static final int
    Accept only first-party cookies and site data to block cookies which are not associated with the domain of the visited site.
    static final int
    Enable dynamic first party isolation (dFPI); this will block third-party tracking cookies in accordance with the ETP level and isolate non-tracking third-party cookies.
    static final int
    Accept only first-party and non-tracking third-party cookies and site data to block cookies which are not associated with the domain of the visited site set by known trackers.
    static final int
    Do not store any cookies and site data.
    static final int
    Accept first-party and third-party cookies and site data only from sites previously visited in a first-party context.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ACCEPT_ALL

      public static final int ACCEPT_ALL
      Accept first-party and third-party cookies and site data.
      See Also:
    • ACCEPT_FIRST_PARTY

      public static final int ACCEPT_FIRST_PARTY
      Accept only first-party cookies and site data to block cookies which are not associated with the domain of the visited site.
      See Also:
    • ACCEPT_NONE

      public static final int ACCEPT_NONE
      Do not store any cookies and site data.
      See Also:
    • ACCEPT_VISITED

      public static final int ACCEPT_VISITED
      Accept first-party and third-party cookies and site data only from sites previously visited in a first-party context.
      See Also:
    • ACCEPT_NON_TRACKERS

      public static final int ACCEPT_NON_TRACKERS
      Accept only first-party and non-tracking third-party cookies and site data to block cookies which are not associated with the domain of the visited site set by known trackers.
      See Also:
    • ACCEPT_FIRST_PARTY_AND_ISOLATE_OTHERS

      public static final int ACCEPT_FIRST_PARTY_AND_ISOLATE_OTHERS
      Enable dynamic first party isolation (dFPI); this will block third-party tracking cookies in accordance with the ETP level and isolate non-tracking third-party cookies.
      See Also:
  • Constructor Details

    • CookieBehavior

      protected CookieBehavior()