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

Unified Diff: net/reporting/reporting_report.h

Issue 2739483002: Reporting: Implement delivery agent. (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_delivery_agent_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/reporting/reporting_report.h
diff --git a/net/reporting/reporting_report.h b/net/reporting/reporting_report.h
index 973935413d711900fe356822212099ba2b150c83..b1b310171f99491fb171d82e4134bee5455516a4 100644
--- a/net/reporting/reporting_report.h
+++ b/net/reporting/reporting_report.h
@@ -29,23 +29,26 @@ struct NET_EXPORT ReportingReport {
int attempts);
~ReportingReport();
- // The URL of the document that triggered the report.
+ // The URL of the document that triggered the report. (Included in the
+ // delivered report.)
GURL url;
- // The endpoint group that should be used to deliver the report.
+ // The endpoint group that should be used to deliver the report. (Not included
+ // in the delivered report.)
std::string group;
- // The type of the report.
+ // The type of the report. (Included in the delivered report.)
std::string type;
- // The body of the report.
+ // The body of the report. (Included in the delivered report.)
std::unique_ptr<const base::Value> body;
- // When the report was queued.
+ // When the report was queued. (Included in the delivered report as an age
+ // relative to the time of the delivery attempt.)
base::TimeTicks queued;
// The number of delivery attempts made so far, not including an active
- // attempt.
+ // attempt. (Not included in the delivered report.)
int attempts = 0;
private:
« no previous file with comments | « net/reporting/reporting_delivery_agent_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698