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

Unified Diff: components/domain_reliability/context.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/clear_mode.h ('k') | components/domain_reliability/context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/context.h
diff --git a/components/domain_reliability/context.h b/components/domain_reliability/context.h
index c9809379e6599429f6d8e4eecca0320e1613b0fb..16a3fe457977bfc5d9891a0cdb86f1720ab741c8 100644
--- a/components/domain_reliability/context.h
+++ b/components/domain_reliability/context.h
@@ -43,6 +43,9 @@ class DOMAIN_RELIABILITY_EXPORT DomainReliabilityContext {
// but will increment one of the request counters in any case.
void OnBeacon(const GURL& url, const DomainReliabilityBeacon& beacon);
+ // Called to clear browsing data, since beacons are like browsing history.
+ void ClearBeacons();
+
void GetQueuedDataForTesting(
size_t resource_index,
std::vector<DomainReliabilityBeacon>* beacons_out,
« no previous file with comments | « components/domain_reliability/clear_mode.h ('k') | components/domain_reliability/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698