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

Unified Diff: net/reporting/reporting_context.h

Issue 2829683004: Reporting: Plumb from //chrome/browser/browsing_data. (Closed)
Patch Set: Created 3 years, 8 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_context.h
diff --git a/net/reporting/reporting_context.h b/net/reporting/reporting_context.h
index 75aa11918ae6aeff76c20b59a146ca6ee1a2e10d..99f35eec876987f04a0895087a5062da78219d95 100644
--- a/net/reporting/reporting_context.h
+++ b/net/reporting/reporting_context.h
@@ -20,6 +20,7 @@ class TickClock;
namespace net {
+class ReportingBrowsingDataRemover;
class ReportingCache;
class ReportingDelegate;
class ReportingDeliveryAgent;
@@ -66,6 +67,9 @@ class NET_EXPORT ReportingContext {
ReportingGarbageCollector* garbage_collector() {
return garbage_collector_.get();
}
+ ReportingBrowsingDataRemover* browsing_data_remover() {
+ return browsing_data_remover_.get();
+ }
ReportingPersister* persister() { return persister_.get(); }
@@ -108,6 +112,9 @@ class NET_EXPORT ReportingContext {
// |garbage_collector_| must come after |tick_clock_| and |cache_|.
std::unique_ptr<ReportingGarbageCollector> garbage_collector_;
+ // |browsing_data_remover_| must come after |cache_|.
+ std::unique_ptr<ReportingBrowsingDataRemover> browsing_data_remover_;
+
DISALLOW_COPY_AND_ASSIGN(ReportingContext);
};

Powered by Google App Engine
This is Rietveld 408576698