| OLD | NEW | 
|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "net/quic/quic_headers_stream.h" | 5 #include "net/quic/quic_headers_stream.h" | 
| 6 | 6 | 
| 7 #include "net/quic/quic_utils.h" | 7 #include "net/quic/quic_utils.h" | 
| 8 #include "net/quic/spdy_utils.h" | 8 #include "net/quic/spdy_utils.h" | 
| 9 #include "net/quic/test_tools/quic_connection_peer.h" | 9 #include "net/quic/test_tools/quic_connection_peer.h" | 
| 10 #include "net/quic/test_tools/quic_spdy_session_peer.h" | 10 #include "net/quic/test_tools/quic_spdy_session_peer.h" | 
| 11 #include "net/quic/test_tools/quic_test_utils.h" | 11 #include "net/quic/test_tools/quic_test_utils.h" | 
| 12 #include "net/quic/test_tools/reliable_quic_stream_peer.h" | 12 #include "net/quic/test_tools/reliable_quic_stream_peer.h" | 
|  | 13 #include "net/spdy/spdy_alt_svc_wire_format.h" | 
| 13 #include "net/spdy/spdy_protocol.h" | 14 #include "net/spdy/spdy_protocol.h" | 
| 14 #include "net/spdy/spdy_test_utils.h" | 15 #include "net/spdy/spdy_test_utils.h" | 
| 15 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" | 
| 16 | 17 | 
| 17 using base::StringPiece; | 18 using base::StringPiece; | 
| 18 using std::ostream; | 19 using std::ostream; | 
| 19 using std::string; | 20 using std::string; | 
| 20 using std::vector; | 21 using std::vector; | 
| 21 using testing::ElementsAre; | 22 using testing::ElementsAre; | 
| 22 using testing::InSequence; | 23 using testing::InSequence; | 
| (...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 505 } | 506 } | 
| 506 | 507 | 
| 507 TEST_P(QuicHeadersStreamTest, NoConnectionLevelFlowControl) { | 508 TEST_P(QuicHeadersStreamTest, NoConnectionLevelFlowControl) { | 
| 508   EXPECT_FALSE(ReliableQuicStreamPeer::StreamContributesToConnectionFlowControl( | 509   EXPECT_FALSE(ReliableQuicStreamPeer::StreamContributesToConnectionFlowControl( | 
| 509       headers_stream_)); | 510       headers_stream_)); | 
| 510 } | 511 } | 
| 511 | 512 | 
| 512 }  // namespace | 513 }  // namespace | 
| 513 }  // namespace test | 514 }  // namespace test | 
| 514 }  // namespace net | 515 }  // namespace net | 
| OLD | NEW | 
|---|