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

Side by Side Diff: net/reporting/reporting_browsing_data_remover.h

Issue 2862003003: Reporting: Document browsing data remover + endpoint backoff (Closed)
Patch Set: rebase Created 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | net/reporting/reporting_endpoint_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_REPORTING_REPORTING_BROWSING_DATA_REMOVER_H_ 5 #ifndef NET_REPORTING_REPORTING_BROWSING_DATA_REMOVER_H_
6 #define NET_REPORTING_REPORTING_BROWSING_DATA_REMOVER_H_ 6 #define NET_REPORTING_REPORTING_BROWSING_DATA_REMOVER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 17 matching lines...) Expand all
28 // browsing data remover. 28 // browsing data remover.
29 static std::unique_ptr<ReportingBrowsingDataRemover> Create( 29 static std::unique_ptr<ReportingBrowsingDataRemover> Create(
30 ReportingContext* context); 30 ReportingContext* context);
31 31
32 virtual ~ReportingBrowsingDataRemover(); 32 virtual ~ReportingBrowsingDataRemover();
33 33
34 // Removes browsing data from the Reporting system. |data_type_mask| specifies 34 // Removes browsing data from the Reporting system. |data_type_mask| specifies
35 // which types of data to remove: reports queued by browser features and/or 35 // which types of data to remove: reports queued by browser features and/or
36 // clients (endpoints configured by origins). |origin_filter|, if not null, 36 // clients (endpoints configured by origins). |origin_filter|, if not null,
37 // specifies which origins' data to remove. 37 // specifies which origins' data to remove.
38 //
39 // Note: Currently this does not clear the endpoint backoff data in
40 // ReportingEndpointManager because that's not persisted to disk. If it's ever
41 // persisted, it will need to be cleared as well.
38 virtual void RemoveBrowsingData( 42 virtual void RemoveBrowsingData(
39 int data_type_mask, 43 int data_type_mask,
40 base::Callback<bool(const GURL&)> origin_filter) = 0; 44 base::Callback<bool(const GURL&)> origin_filter) = 0;
41 }; 45 };
42 46
43 } // namespace net 47 } // namespace net
44 48
45 #endif // NET_REPORTING_REPORTING_BROWSING_DATA_REMOVER_H_ 49 #endif // NET_REPORTING_REPORTING_BROWSING_DATA_REMOVER_H_
OLDNEW
« no previous file with comments | « no previous file | net/reporting/reporting_endpoint_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698