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

Unified Diff: net/reporting/reporting_context.h

Issue 2829683004: Reporting: Plumb from //chrome/browser/browsing_data. (Closed)
Patch Set: Fix. 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
« no previous file with comments | « net/reporting/reporting_browsing_data_remover_unittest.cc ('k') | net/reporting/reporting_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/reporting/reporting_context.h
diff --git a/net/reporting/reporting_context.h b/net/reporting/reporting_context.h
index 34e95d389e22e8251afb72907c9adabacb9f48fe..f24fc2d7b254688818070968af97e5149b03fbeb 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 ReportingDeliveryAgent;
class ReportingEndpointManager;
@@ -54,6 +55,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(); }
@@ -95,6 +99,9 @@ class NET_EXPORT ReportingContext {
// |network_change_observer_| must come after |cache_|.
std::unique_ptr<ReportingNetworkChangeObserver> network_change_observer_;
+ // |browsing_data_remover_| must come after |cache_|.
+ std::unique_ptr<ReportingBrowsingDataRemover> browsing_data_remover_;
+
DISALLOW_COPY_AND_ASSIGN(ReportingContext);
};
« no previous file with comments | « net/reporting/reporting_browsing_data_remover_unittest.cc ('k') | net/reporting/reporting_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698