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_ |