commit | 79cc755ff67f751e6768f20d4244730aa6fbb340 | [log] [tgz] |
---|---|---|
author | Eric Roman <[email protected]> | Fri Jul 19 02:17:54 2019 |
committer | Commit Bot <[email protected]> | Fri Jul 19 02:17:54 2019 |
tree | 655bf79225ce3a4cf0bbca5bdd2b5f3026ddfcbc | |
parent | 744bb397918aa25ba66dafa803563cc8f4bc6bf9 [diff] [blame] |
[refactor] Remove TestNetLogEntry. The callers can instead use NetLogEntry directly. Change-Id: I93f2b8885fffc065ce768f7cadf14cf44989f4d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1706773 Commit-Queue: Eric Roman <[email protected]> Reviewed-by: Robbie McElrath <[email protected]> Reviewed-by: Scott Violet <[email protected]> Reviewed-by: David Benjamin <[email protected]> Cr-Commit-Position: refs/heads/master@{#678952}
diff --git a/net/quic/quic_http_stream_test.cc b/net/quic/quic_http_stream_test.cc index 298cae2..c550949 100644 --- a/net/quic/quic_http_stream_test.cc +++ b/net/quic/quic_http_stream_test.cc
@@ -959,8 +959,7 @@ +spdy_trailers_frame_length), stream_->GetTotalReceivedBytes()); // Check that NetLog was filled as expected. - TestNetLogEntry::List entries; - net_log_.GetEntries(&entries); + auto entries = net_log_.GetEntries(); size_t pos = ExpectLogContainsSomewhere( entries, /*min_offset=*/0, NetLogEventType::QUIC_CHROMIUM_CLIENT_STREAM_SEND_REQUEST_HEADERS,