OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/test_tools/quic_stream_factory_peer.h" | 5 #include "net/quic/test_tools/quic_stream_factory_peer.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "net/quic/chromium/quic_chromium_client_session.h" | 10 #include "net/quic/chromium/quic_chromium_client_session.h" |
11 #include "net/quic/chromium/quic_http_stream.h" | 11 #include "net/quic/chromium/quic_http_stream.h" |
12 #include "net/quic/chromium/quic_stream_factory.h" | 12 #include "net/quic/chromium/quic_stream_factory.h" |
13 #include "net/quic/crypto/quic_crypto_client_config.h" | 13 #include "net/quic/core/crypto/quic_crypto_client_config.h" |
14 #include "net/quic/quic_clock.h" | 14 #include "net/quic/core/quic_clock.h" |
15 | 15 |
16 using std::string; | 16 using std::string; |
17 using std::vector; | 17 using std::vector; |
18 | 18 |
19 namespace net { | 19 namespace net { |
20 namespace test { | 20 namespace test { |
21 | 21 |
22 const QuicConfig* QuicStreamFactoryPeer::GetConfig(QuicStreamFactory* factory) { | 22 const QuicConfig* QuicStreamFactoryPeer::GetConfig(QuicStreamFactory* factory) { |
23 return &factory->config_; | 23 return &factory->config_; |
24 } | 24 } |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 return &factory->push_promise_index_; | 166 return &factory->push_promise_index_; |
167 } | 167 } |
168 | 168 |
169 int QuicStreamFactoryPeer::GetNumPushStreamsCreated( | 169 int QuicStreamFactoryPeer::GetNumPushStreamsCreated( |
170 QuicStreamFactory* factory) { | 170 QuicStreamFactory* factory) { |
171 return factory->num_push_streams_created_; | 171 return factory->num_push_streams_created_; |
172 } | 172 } |
173 | 173 |
174 } // namespace test | 174 } // namespace test |
175 } // namespace net | 175 } // namespace net |
OLD | NEW |