Home
last modified time | relevance | path

Searched refs:reporting_source (Results 1 – 19 of 19) sorted by relevance

/external/cronet/net/reporting/
Dreporting_endpoint.cc29 absl::optional<base::UnguessableToken> reporting_source, in ReportingEndpointGroupKey() argument
33 reporting_source(std::move(reporting_source)), in ReportingEndpointGroupKey()
37 DCHECK(!(this->reporting_source.has_value() && in ReportingEndpointGroupKey()
38 this->reporting_source->is_empty())); in ReportingEndpointGroupKey()
43 const absl::optional<base::UnguessableToken>& reporting_source) in ReportingEndpointGroupKey() argument
45 reporting_source, in ReportingEndpointGroupKey()
63 return std::tie(lhs.reporting_source, lhs.network_anonymization_key, in operator ==()
65 std::tie(rhs.reporting_source, rhs.network_anonymization_key, in operator ==()
76 return std::tie(lhs.reporting_source, lhs.network_anonymization_key, in operator <()
78 std::tie(rhs.reporting_source, rhs.network_anonymization_key, in operator <()
[all …]
Dreporting_service.cc61 const base::UnguessableToken& reporting_source, in SetDocumentReportingEndpoints() argument
65 DCHECK(!reporting_source.is_empty()); in SetDocumentReportingEndpoints()
68 base::Unretained(this), reporting_source, isolation_info, in SetDocumentReportingEndpoints()
75 const base::UnguessableToken& reporting_source) override { in SendReportsAndRemoveSource() argument
76 DCHECK(!reporting_source.is_empty()); in SendReportsAndRemoveSource()
77 context_->delivery_agent()->SendReportsForSource(reporting_source); in SendReportsAndRemoveSource()
78 context_->cache()->SetExpiredSource(reporting_source); in SendReportsAndRemoveSource()
83 const absl::optional<base::UnguessableToken>& reporting_source, in QueueReport() argument
93 DCHECK(!(reporting_source.has_value() && reporting_source->is_empty())); in QueueReport()
109 base::Unretained(this), reporting_source, in QueueReport()
[all …]
Dreporting_report.cc18 const absl::optional<base::UnguessableToken>& reporting_source, in ReportingReport() argument
28 : reporting_source(reporting_source), in ReportingReport()
40 DCHECK(!(reporting_source.has_value() && reporting_source->is_empty())); in ReportingReport()
49 return ReportingEndpointGroupKey(network_anonymization_key, reporting_source, in GetGroupKey()
Dreporting_cache_impl.cc31 const absl::optional<base::UnguessableToken>& reporting_source, in AddReport() argument
42 DCHECK(!(reporting_source.has_value() && reporting_source->is_empty())); in AddReport()
46 if (reporting_source.has_value() && in AddReport()
47 expired_sources_.find(reporting_source.value()) != in AddReport()
53 reporting_source, network_anonymization_key, url, user_agent, group_name, in AddReport()
147 const base::UnguessableToken& reporting_source) { in GetReportsToDeliverForSource() argument
148 DCHECK(!reporting_source.is_empty()); in GetReportsToDeliverForSource()
151 if (report->reporting_source == reporting_source) { in GetReportsToDeliverForSource()
242 document_endpoints_.find(group_key.reporting_source.value()); in GetEndpointStats()
284 const base::UnguessableToken& reporting_source) { in SetExpiredSource() argument
[all …]
Dreporting_delivery_agent.cc98 const absl::optional<base::UnguessableToken> reporting_source) in Target()
103 reporting_source(reporting_source) { in Target()
116 reporting_source) < in operator <()
118 other.endpoint_url, other.reporting_source); in operator <()
125 absl::optional<base::UnguessableToken> reporting_source; member
170 target_.reporting_source.has_value() in ProcessOutcome()
229 void SendReportsForSource(base::UnguessableToken reporting_source) override { in SendReportsForSource() argument
230 DCHECK(!reporting_source.is_empty()); in SendReportsForSource()
232 cache()->GetReportsToDeliverForSource(reporting_source); in SendReportsForSource()
328 endpoint.group_key.reporting_source); in OnSendPermissionsChecked()
[all …]
Dreporting_cache.h69 const absl::optional<base::UnguessableToken>& reporting_source,
106 const base::UnguessableToken& reporting_source) = 0;
130 const base::UnguessableToken& reporting_source) = 0;
180 const base::UnguessableToken& reporting_source,
215 const base::UnguessableToken& reporting_source) = 0;
268 const base::UnguessableToken& reporting_source,
318 const base::UnguessableToken& reporting_source,
Dreporting_endpoint.h32 absl::optional<base::UnguessableToken> reporting_source,
38 const absl::optional<base::UnguessableToken>& reporting_source);
52 bool IsDocumentEndpoint() const { return reporting_source.has_value(); } in IsDocumentEndpoint()
61 absl::optional<base::UnguessableToken> reporting_source; member
Dreporting_header_parser.cc219 const base::UnguessableToken& reporting_source, in ProcessV1Endpoint() argument
225 DCHECK(!reporting_source.is_empty()); in ProcessV1Endpoint()
227 reporting_source, origin, endpoint_name); in ProcessV1Endpoint()
317 const base::UnguessableToken& reporting_source, in ProcessParsedReportingEndpointsHeader() argument
324 DCHECK(!reporting_source.is_empty()); in ProcessParsedReportingEndpointsHeader()
336 if (ProcessV1Endpoint(delegate, cache, reporting_source, in ProcessParsedReportingEndpointsHeader()
349 cache->OnParsedReportingEndpointsHeader(reporting_source, isolation_info, in ProcessParsedReportingEndpointsHeader()
Dreporting_cache_impl.h46 void AddReport(const absl::optional<base::UnguessableToken>& reporting_source,
61 const base::UnguessableToken& reporting_source) override;
73 const base::UnguessableToken& reporting_source) override;
91 const base::UnguessableToken& reporting_source,
102 const base::UnguessableToken& reporting_source) override;
113 const base::UnguessableToken& reporting_source,
134 const base::UnguessableToken& reporting_source,
Dreporting_garbage_collector.cc72 sources_to_remove.erase(report->reporting_source); in CollectGarbage()
79 for (const base::UnguessableToken& reporting_source : sources_to_remove) { in CollectGarbage() local
80 context_->cache()->RemoveSourceAndEndpoints(reporting_source); in CollectGarbage()
Dreporting_service.h75 const absl::optional<base::UnguessableToken>& reporting_source,
100 const base::UnguessableToken& reporting_source,
109 const base::UnguessableToken& reporting_source) = 0;
Dreporting_report.h44 const absl::optional<base::UnguessableToken>& reporting_source,
85 absl::optional<base::UnguessableToken> reporting_source; member
Dreporting_endpoint_manager_unittest.cc58 void AddReport(const absl::optional<base::UnguessableToken>& reporting_source, in AddReport() argument
83 const base::UnguessableToken& reporting_source) override { in GetReportsToDeliverForSource() argument
107 const base::UnguessableToken& reporting_source) override { in SetExpiredSource() argument
148 const base::UnguessableToken& reporting_source, in OnParsedReportingEndpointsHeader() argument
171 const base::UnguessableToken& reporting_source) override { in RemoveSourceAndEndpoints() argument
190 const base::UnguessableToken& reporting_source, in GetV1EndpointForTesting() argument
234 const base::UnguessableToken& reporting_source, in SetV1EndpointForTesting() argument
Dreporting_test_util.h221 const base::UnguessableToken& reporting_source,
336 const base::UnguessableToken& reporting_source, in SetDocumentReportingEndpoints() argument
342 const base::UnguessableToken& reporting_source) override {} in SendReportsAndRemoveSource() argument
346 const absl::optional<base::UnguessableToken>& reporting_source,
Dreporting_test_util.cc236 const base::UnguessableToken& reporting_source, in SetV1EndpointInCache() argument
239 cache()->SetV1EndpointForTesting(group_key, reporting_source, isolation_info, in SetV1EndpointInCache()
256 group_key.reporting_source.value(), group_key.group_name); in GetEndpointStatistics()
338 const absl::optional<base::UnguessableToken>& reporting_source, in QueueReport() argument
Dreporting_delivery_agent.h74 base::UnguessableToken reporting_source) = 0;
Dreporting_header_parser.h62 const base::UnguessableToken& reporting_source,
Dreporting_delivery_agent_unittest.cc58 void AddReport(const absl::optional<base::UnguessableToken>& reporting_source, in AddReport() argument
64 cache()->AddReport(reporting_source, network_anonymization_key, url, in AddReport()
106 void SendReportsForSource(base::UnguessableToken reporting_source) { in SendReportsForSource() argument
107 delivery_agent()->SendReportsForSource(reporting_source); in SendReportsForSource()
Dreporting_header_parser_unittest.cc1782 void ParseHeader(const base::UnguessableToken& reporting_source, in ParseHeader() argument
1791 context(), reporting_source, isolation_info, in ParseHeader()
1796 const base::UnguessableToken& reporting_source, in ProcessParsedHeader() argument
1802 context(), reporting_source, isolation_info, in ProcessParsedHeader()