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/chromium/quic_stream_factory_peer.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "net/cert/x509_certificate.h" | 10 #include "net/cert/x509_certificate.h" |
11 #include "net/quic/chromium/quic_chromium_client_session.h" | 11 #include "net/quic/chromium/quic_chromium_client_session.h" |
12 #include "net/quic/chromium/quic_http_stream.h" | 12 #include "net/quic/chromium/quic_http_stream.h" |
13 #include "net/quic/chromium/quic_stream_factory.h" | 13 #include "net/quic/chromium/quic_stream_factory.h" |
14 #include "net/quic/core/crypto/quic_crypto_client_config.h" | 14 #include "net/quic/core/crypto/quic_crypto_client_config.h" |
15 #include "net/quic/platform/impl/quic_chromium_clock.h" | 15 #include "net/quic/platform/impl/quic_chromium_clock.h" |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 return &factory->push_promise_index_; | 198 return &factory->push_promise_index_; |
199 } | 199 } |
200 | 200 |
201 int QuicStreamFactoryPeer::GetNumPushStreamsCreated( | 201 int QuicStreamFactoryPeer::GetNumPushStreamsCreated( |
202 QuicStreamFactory* factory) { | 202 QuicStreamFactory* factory) { |
203 return factory->num_push_streams_created_; | 203 return factory->num_push_streams_created_; |
204 } | 204 } |
205 | 205 |
206 } // namespace test | 206 } // namespace test |
207 } // namespace net | 207 } // namespace net |
OLD | NEW |