[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,