Home | History | Annotate | Download | only in domain_reliability
      1 // Copyright 2014 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef COMPONENTS_DOMAIN_RELIABILITY_CLEAR_MODE_H_
      6 #define COMPONENTS_DOMAIN_RELIABILITY_CLEAR_MODE_H_
      7 
      8 #include "components/domain_reliability/domain_reliability_export.h"
      9 
     10 namespace domain_reliability {
     11 
     12 // Argument to DomainReliabilityMonitor::ClearBrowsingData.
     13 enum DOMAIN_RELIABILITY_EXPORT DomainReliabilityClearMode {
     14   // Clear accumulated beacons (which betray browsing history) but leave
     15   // registered contexts intact.
     16   CLEAR_BEACONS,
     17 
     18   // Clear registered contexts (which can act like cookies).
     19   CLEAR_CONTEXTS,
     20 
     21   MAX_CLEAR_MODE
     22 };
     23 
     24 }  // namespace domain_reliability
     25 
     26 #endif  // COMPONENTS_DOMAIN_RELIABILITY_CLEAR_MODE_H_
     27