Skip to content

Commit

Permalink
Reporting: Record HeaderOutcome::PARSED when applicable.
Browse files Browse the repository at this point in the history
(This got lost in a refactor a little while ago.)

Change-Id: I0425db3d4d68c380f41f8c8eb008a7604e097635
Reviewed-on: https://chromium-review.googlesource.com/986792
Reviewed-by: Asanka Herath <asanka@chromium.org>
Commit-Queue: Julia Tuttle <juliatuttle@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547164}
  • Loading branch information
juliatuttle authored and Commit Bot committed Mar 30, 2018
1 parent a7273b0 commit efe2fae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/reporting/reporting_header_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ void ReportingHeaderParser::ParseHeader(ReportingContext* context,
if (new_endpoints.count(old_endpoint) == 0u)
cache->RemoveClientForOriginAndEndpoint(origin, old_endpoint);
}

RecordHeaderOutcome(HeaderOutcome::PARSED);
}

} // namespace net

0 comments on commit efe2fae

Please sign in to comment.