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

Unified Diff: net/reporting/reporting_browsing_data_remover.h

Issue 2752523005: Reporting: Implement browsing data remover. (Closed)
Patch Set: Move after Context CL. Created 3 years, 9 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
Index: net/reporting/reporting_browsing_data_remover.h
diff --git a/net/reporting/reporting_browsing_data_remover.h b/net/reporting/reporting_browsing_data_remover.h
new file mode 100644
index 0000000000000000000000000000000000000000..11c22bb8f1f490c7a21acaddf9c343451ec28d61
--- /dev/null
+++ b/net/reporting/reporting_browsing_data_remover.h
@@ -0,0 +1,31 @@
+// Copyright 2017 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 NET_REPORTING_REPORTING_BROWSING_DATA_REMOVER_H_
+#define NET_REPORTING_REPORTING_BROWSING_DATA_REMOVER_H_
+
+#include "base/callback.h"
+#include "base/macros.h"
+#include "net/base/net_export.h"
+#include "url/gurl.h"
+
+namespace net {
+
+class ReportingContext;
+
+class NET_EXPORT ReportingBrowsingDataRemover {
shivanisha 2017/04/07 15:10:30 Comment describing the overall purpose of the clas
Julia Tuttle 2017/04/07 16:25:10 Done.
+ public:
+ static void RemoveBrowsingData(
+ ReportingContext* context,
+ bool remove_reports,
+ bool remove_clients,
+ base::Callback<bool(const GURL&)> origin_filter);
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(ReportingBrowsingDataRemover);
+};
+
+} // namespace net
+
+#endif // NET_REPORTING_REPORTING_BROWSING_DATA_REMOVER_H_

Powered by Google App Engine
This is Rietveld 408576698