Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Unified Diff: net/quic/chromium/quic_http_stream_test.cc

Issue 2462823002: Deletes dead code. (Closed)
Patch Set: Updated patchset dependency Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/quic/chromium/quic_http_stream_test.cc
diff --git a/net/quic/chromium/quic_http_stream_test.cc b/net/quic/chromium/quic_http_stream_test.cc
index d6b50081d40670a6f3bd5590ba3d789bd1752a13..c9ae6011e7991e21b37693a75383956bfce5eafc 100644
--- a/net/quic/chromium/quic_http_stream_test.cc
+++ b/net/quic/chromium/quic_http_stream_test.cc
@@ -524,11 +524,11 @@ class QuicHttpStreamTest : public ::testing::TestWithParam<QuicVersion> {
}
void ReceivePromise(QuicStreamId id) {
+ auto headers = AsHeaderList(push_promise_);
QuicChromiumClientStream* stream =
QuicHttpStreamPeer::GetQuicChromiumClientStream(stream_.get());
- stream->OnStreamHeaders(serialized_push_promise_);
-
- stream->OnPromiseHeadersComplete(id, serialized_push_promise_.size());
+ stream->OnPromiseHeaderList(id, headers.uncompressed_header_bytes(),
+ headers);
}
void ExpectLoadTimingValid(const LoadTimingInfo& load_timing_info,
« no previous file with comments | « net/quic/chromium/quic_chromium_client_stream_test.cc ('k') | net/quic/core/quic_client_promised_info_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698