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

Unified Diff: net/reporting/reporting_policy.h

Issue 2813103005: Reporting: Observe network changes and clear reports/clients (Closed)
Patch Set: Make requested changes. 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_network_change_observer_unittest.cc ('k') | net/reporting/reporting_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/reporting/reporting_policy.h
diff --git a/net/reporting/reporting_policy.h b/net/reporting/reporting_policy.h
index 59663ed9046bca448a7fb86e2936fcf81b973a82..c400bfff452d4f2eb86e3b833d8cee7ea224fac7 100644
--- a/net/reporting/reporting_policy.h
+++ b/net/reporting/reporting_policy.h
@@ -44,6 +44,14 @@ struct NET_EXPORT ReportingPolicy {
// Maximum number of delivery attempts a report can have before being
// discarded as failed.
int max_report_attempts;
+
+ // Whether to clear reports when the network changes to avoid leaking browsing
+ // data between networks.
+ bool clear_reports_on_network_changes;
+
+ // Whether to clear clients when the network changes to avoid leaking browsing
+ // data between networks.
+ bool clear_clients_on_network_changes;
};
} // namespace net
« no previous file with comments | « net/reporting/reporting_network_change_observer_unittest.cc ('k') | net/reporting/reporting_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698