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