Lines Matching full:reports
32 // The cache holds undelivered reports and clients (per-origin endpoint
48 // The cache implementation has the notion of "pending" reports. These are
49 // reports that are part of an active delivery attempt, so they won't be
64 // this report, and which other reports this report can be batched with.
80 // Gets all reports in the cache. The returned pointers are valid as long as
81 // either no calls to |RemoveReports| have happened or the reports' |pending|
83 // doomed reports (pending reports for which removal has been requested).
89 // Gets all reports in the cache, including pending and doomed reports, as a
93 // Gets all reports in the cache that aren't pending or doomed (i.e. that are
94 // eligible for delivery), and marks returned reports as pending in
96 // as the reports are still pending.
99 // Gets all reports in the cache which are eligible for delivery, which were
100 // queued for a single `reporting_source`, and marks returned reports as
102 // valid as long as the reports are still pending. This method is used when a
104 // outstanding reports.
108 // Unmarks a set of reports as pending. |reports| must be previously marked as
111 const std::vector<const ReportingReport*>& reports) = 0;
113 // Increments |attempts| on a set of reports.
115 const std::vector<const ReportingReport*>& reports) = 0;
118 // |reports_delivered| reports to the specified endpoint.
127 // be removed by the garbage collector once all outstanding reports have been
136 // Removes a set of reports. Any reports that are pending will not be removed
140 const std::vector<const ReportingReport*>& reports) = 0;
141 virtual void RemoveReports(const std::vector<const ReportingReport*>& reports,
144 // Removes all reports. Like |RemoveReports()|, pending reports are doomed
148 // Gets the count of reports in the cache, *including* doomed reports.
150 // Needed to ensure that doomed reports are eventually deleted, since no
155 // Gets the count of reports in the cache with a specific `status`.
178 // source, and is used for determining credentials to send with reports.
212 // endpoints. There should be no non-doomed reports in the cache for
330 // Persistent storage for Reporting reports and clients.
372 // TODO(chlily): methods to load, add, and delete reports will be added.