Index: components/domain_reliability/monitor.h |
diff --git a/components/domain_reliability/monitor.h b/components/domain_reliability/monitor.h |
index 01ef84393f1e8a791d0b2a7b474f608f5e415b7d..97488bb238cf8f3cd5f95ce86c16a98b98b5845f 100644 |
--- a/components/domain_reliability/monitor.h |
+++ b/components/domain_reliability/monitor.h |
@@ -51,6 +51,18 @@ class DOMAIN_RELIABILITY_EXPORT DomainReliabilityMonitor { |
void OnBeforeRedirect(net::URLRequest* request); |
void OnCompleted(net::URLRequest* request, bool started); |
+ // Called to remove browsing data: |
+ |
+ // Removes all of the contexts being monitored. Since configs can contain |
+ // site-provided data (config version, resource names, etc.) that will be |
+ // repeated back in uploads, this should be treated like site data. |
+ void ClearContexts(); |
+ |
+ // Removes all of the beacons stored in contexts, without removing the |
+ // contexts. Since beacons can contain data derivative of browsing history, |
+ // this should be treated like history. |
+ void ClearBeacons(); |
+ |
DomainReliabilityContext* AddContextForTesting( |
scoped_ptr<const DomainReliabilityConfig> config); |