summaryrefslogtreecommitdiffstats
path: root/components/domain_reliability/clear_mode.h
blob: c994524f97b7fea12bff0b8dac11fa7e8c79e91b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_DOMAIN_RELIABILITY_CLEAR_MODE_H_
#define COMPONENTS_DOMAIN_RELIABILITY_CLEAR_MODE_H_

#include "components/domain_reliability/domain_reliability_export.h"

namespace domain_reliability {

// Argument to DomainReliabilityMonitor::ClearBrowsingData.
enum DomainReliabilityClearMode {
  // Clear accumulated beacons (which betray browsing history) but leave
  // registered contexts intact.
  CLEAR_BEACONS,

  // Clear registered contexts (which can act like cookies).
  CLEAR_CONTEXTS,

  MAX_CLEAR_MODE
};

}  // namespace domain_reliability

#endif  // COMPONENTS_DOMAIN_RELIABILITY_CLEAR_MODE_H_