commit | aeb1abc9b5177c2817b21fe3a366fc0f23450607 | [log] [tgz] |
---|---|---|
author | juliatuttle <[email protected]> | Thu May 04 21:14:38 2017 |
committer | Commit bot <[email protected]> | Thu May 04 21:14:38 2017 |
tree | 4bbbc807aed84f29cebd32ffd1757db6725f8ce7 | |
parent | 0adabba19edd06f92b865d1ca35981ddadb955c9 [diff] [blame] |
Reporting: Plumb from //chrome/browser/browsing_data. Reporting is a spec for delivering out-of-band reports from various other parts of the browser. See http://wicg.github.io/reporting/ for the spec, or https://goo.gl/pygX5I for details of the planned implementation in Chromium. This CL plumbs from Chromium's browsing data removal code to Reporting (and also makes a few tweaks to Reporting's browsing data removal). BUG=704259 Review-Url: https://codereview.chromium.org/2829683004 Cr-Commit-Position: refs/heads/master@{#469474}
diff --git a/net/reporting/reporting_service.h b/net/reporting/reporting_service.h index 831e0711..2b010bd 100644 --- a/net/reporting/reporting_service.h +++ b/net/reporting/reporting_service.h
@@ -59,6 +59,12 @@ virtual void ProcessHeader(const GURL& url, const std::string& header_value) = 0; + // Removes browsing data from the Reporting system. See + // ReportingBrowsingDataRemover for more details. + virtual void RemoveBrowsingData( + int data_type_mask, + base::Callback<bool(const GURL&)> origin_filter) = 0; + protected: ReportingService() {}