Chromium Code Reviews| Index: net/spdy/spdy_network_transaction_unittest.cc |
| diff --git a/net/spdy/spdy_network_transaction_unittest.cc b/net/spdy/spdy_network_transaction_unittest.cc |
| index 83f6bc0cf194fbe76656a795e4c86a3930d188d2..a79d76a8bfeda79de4db1cc1d6eda1dfa4ec46c8 100644 |
| --- a/net/spdy/spdy_network_transaction_unittest.cc |
| +++ b/net/spdy/spdy_network_transaction_unittest.cc |
| @@ -3779,9 +3779,12 @@ TEST_P(SpdyNetworkTransactionTest, NetLog) { |
| net::NetLog::PHASE_END); |
| // Check that we logged all the headers correctly |
| - pos = net::ExpectLogContainsSomewhere( |
| - entries, 0, net::NetLog::TYPE_HTTP2_SESSION_SYN_STREAM, |
| - net::NetLog::PHASE_NONE); |
| + const NetLog::EventType type = |
|
mmenke
2015/02/26 16:04:19
optional nit: const generally isn't used for thin
|
| + (GetParam().protocol <= kProtoSPDY31) |
| + ? net::NetLog::TYPE_HTTP2_SESSION_SYN_STREAM |
| + : net::NetLog::TYPE_HTTP2_SESSION_SEND_HEADERS; |
| + pos = net::ExpectLogContainsSomewhere(entries, 0, type, |
| + net::NetLog::PHASE_NONE); |
| base::ListValue* header_list; |
| ASSERT_TRUE(entries[pos].params.get()); |