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

Unified Diff: net/http/http_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/http/bidirectional_stream_unittest.cc ('k') | net/http/http_stream_factory_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_transaction_unittest.cc
diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc
index a4b3592fff8152f6689d4c8836d1a0d5d424b323..db94e0faecb3366fd62f7d67327add49468c9359 100644
--- a/net/http/http_network_transaction_unittest.cc
+++ b/net/http/http_network_transaction_unittest.cc
@@ -5017,7 +5017,7 @@ TEST_P(HttpNetworkTransactionTest,
connect2_block[spdy_util_.GetPathKey()] = "mail.example.org:443";
}
std::unique_ptr<SpdySerializedFrame> connect2(
- spdy_util_.ConstructSpdySyn(3, connect2_block, LOWEST, false));
+ spdy_util_.ConstructSpdySyn(3, std::move(connect2_block), LOWEST, false));
std::unique_ptr<SpdySerializedFrame> conn_resp2(
spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 3));
@@ -13697,7 +13697,7 @@ TEST_P(HttpNetworkTransactionTest, DoNotUseSpdySessionForHttpOverTunnel) {
req2_block[spdy_util_.GetSchemeKey()] = "http";
req2_block[spdy_util_.GetPathKey()] = "/";
std::unique_ptr<SpdySerializedFrame> req2(
- spdy_util_.ConstructSpdySyn(3, req2_block, MEDIUM, true));
+ spdy_util_.ConstructSpdySyn(3, std::move(req2_block), MEDIUM, true));
MockWrite writes1[] = {
CreateMockWrite(*connect, 0), CreateMockWrite(*wrapped_req1, 2),
« no previous file with comments | « net/http/bidirectional_stream_unittest.cc ('k') | net/http/http_stream_factory_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698