commit | b09e013b9d66f6937f079ddd0c7258fc5ddc20c6 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Mar 11 20:39:33 2013 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Mar 11 20:39:33 2013 |
tree | 85bda9ed476653ccc977831464cfef2a8d6b9317 | |
parent | d1aa585d97118efb269d38c0c04bf6f344d7ae21 [diff] [blame] |
Record QUIC and SPDY in the npn_negotiated_protocol field for QUIC transactions. Review URL: https://chromiumcodereview.appspot.com/12670002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187371 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/net/quic/quic_network_transaction_unittest.cc b/net/quic/quic_network_transaction_unittest.cc index f51edfa2..bbaeaee 100644 --- a/net/quic/quic_network_transaction_unittest.cc +++ b/net/quic/quic_network_transaction_unittest.cc
@@ -447,6 +447,8 @@ ASSERT_TRUE(response->headers != NULL); EXPECT_EQ("HTTP/1.1 200 OK", response->headers->GetStatusLine()); EXPECT_TRUE(response->was_fetched_via_spdy); + EXPECT_TRUE(response->was_npn_negotiated); + EXPECT_EQ("quic/1+spdy/3", response->npn_negotiated_protocol); ASSERT_EQ(OK, ReadTransaction(trans.get(), &response_data)); EXPECT_EQ("hello!", response_data);