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

Unified Diff: net/quic/quic_network_transaction_unittest.cc

Issue 2102253003: Make SpdyHeaderBlock non-copyable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: iOS fix. Created 4 years, 6 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
« no previous file with comments | « net/quic/quic_http_stream_test.cc ('k') | net/quic/quic_session_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_network_transaction_unittest.cc
diff --git a/net/quic/quic_network_transaction_unittest.cc b/net/quic/quic_network_transaction_unittest.cc
index 7460a51eb7253ab7a5a640f90cd714ca15344ce4..78d69aeaba26f47ff0a21ff812fe083f141c5f97 100644
--- a/net/quic/quic_network_transaction_unittest.cc
+++ b/net/quic/quic_network_transaction_unittest.cc
@@ -413,7 +413,7 @@ class QuicNetworkTransactionTest
ConvertRequestPriorityToQuicPriority(DEFAULT_PRIORITY);
return client_maker_.MakeRequestHeadersPacketWithOffsetTracking(
packet_number, stream_id, should_include_version, fin, priority,
- headers, offset);
+ std::move(headers), offset);
}
std::unique_ptr<QuicEncryptedPacket> ConstructClientRequestHeadersPacket(
@@ -428,7 +428,7 @@ class QuicNetworkTransactionTest
ConvertRequestPriorityToQuicPriority(DEFAULT_PRIORITY);
return client_maker_.MakeRequestHeadersPacketWithOffsetTracking(
packet_number, stream_id, should_include_version, fin, priority,
- headers, offset);
+ std::move(headers), offset);
}
std::unique_ptr<QuicEncryptedPacket> ConstructClientRequestHeadersPacket(
@@ -484,7 +484,8 @@ class QuicNetworkTransactionTest
SpdyHeaderBlock headers,
QuicStreamOffset* offset) {
return server_maker_.MakeResponseHeadersPacketWithOffsetTracking(
- packet_number, stream_id, should_include_version, fin, headers, offset);
+ packet_number, stream_id, should_include_version, fin,
+ std::move(headers), offset);
}
std::unique_ptr<QuicEncryptedPacket> ConstructServerResponseHeadersPacket(
@@ -496,7 +497,8 @@ class QuicNetworkTransactionTest
QuicStreamOffset* offset,
QuicTestPacketMaker* maker) {
return server_maker_.MakeResponseHeadersPacketWithOffsetTracking(
- packet_number, stream_id, should_include_version, fin, headers, offset);
+ packet_number, stream_id, should_include_version, fin,
+ std::move(headers), offset);
}
void CreateSession() {
« no previous file with comments | « net/quic/quic_http_stream_test.cc ('k') | net/quic/quic_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698