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

Unified Diff: net/reporting/reporting_policy.h

Issue 2813103005: Reporting: Observe network changes and clear reports/clients (Closed)
Patch Set: rebase 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_policy.h
diff --git a/net/reporting/reporting_policy.h b/net/reporting/reporting_policy.h
index 51bba69b403828cacb387f53252e86e906516172..fcd25010ac5a5e27e9653a20b7283c18c263cc07 100644
--- a/net/reporting/reporting_policy.h
+++ b/net/reporting/reporting_policy.h
@@ -41,6 +41,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

Powered by Google App Engine
This is Rietveld 408576698