Index: components/domain_reliability/clear_mode.h |
diff --git a/components/domain_reliability/clear_mode.h b/components/domain_reliability/clear_mode.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4788ac56b2465240965701c5a1a5cd90ca0f7993 |
--- /dev/null |
+++ b/components/domain_reliability/clear_mode.h |
@@ -0,0 +1,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 DOMAIN_RELIABILITY_EXPORT 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_ |