Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(649)

Unified Diff: components/domain_reliability/clear_mode.h

Issue 238863005: Domain Reliability: Remove browsing data when requested. (Closed) Base URL: http://git.chromium.org/chromium/src.git@domrel_bakedin
Patch Set: ...and fix BrowsingDataRemoverTet Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/domain_reliability.gypi ('k') | components/domain_reliability/context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « components/domain_reliability.gypi ('k') | components/domain_reliability/context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698