OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef NET_SPDY_MULTIPLEXED_HTTP_STREAM_H_ | 5 #ifndef NET_SPDY_MULTIPLEXED_HTTP_STREAM_H_ |
6 #define NET_SPDY_MULTIPLEXED_HTTP_STREAM_H_ | 6 #define NET_SPDY_MULTIPLEXED_HTTP_STREAM_H_ |
7 | 7 |
8 #include "net/http/http_stream.h" | 8 #include "net/http/http_stream.h" |
9 #include "net/spdy/multiplexed_session.h" | 9 #include "net/spdy/chromium/multiplexed_session.h" |
10 | 10 |
11 namespace net { | 11 namespace net { |
12 | 12 |
13 // Base class for SPDY and QUIC HttpStream subclasses. | 13 // Base class for SPDY and QUIC HttpStream subclasses. |
14 class NET_EXPORT_PRIVATE MultiplexedHttpStream : public HttpStream { | 14 class NET_EXPORT_PRIVATE MultiplexedHttpStream : public HttpStream { |
15 public: | 15 public: |
16 explicit MultiplexedHttpStream(MultiplexedSessionHandle session); | 16 explicit MultiplexedHttpStream(MultiplexedSessionHandle session); |
17 ~MultiplexedHttpStream() override; | 17 ~MultiplexedHttpStream() override; |
18 | 18 |
19 bool GetRemoteEndpoint(IPEndPoint* endpoint) override; | 19 bool GetRemoteEndpoint(IPEndPoint* endpoint) override; |
(...skipping 10 matching lines...) Expand all Loading... |
30 // Caches SSL info from the underlying session. | 30 // Caches SSL info from the underlying session. |
31 void SaveSSLInfo(); | 31 void SaveSSLInfo(); |
32 | 32 |
33 private: | 33 private: |
34 MultiplexedSessionHandle session_; | 34 MultiplexedSessionHandle session_; |
35 }; | 35 }; |
36 | 36 |
37 } // namespace net | 37 } // namespace net |
38 | 38 |
39 #endif // NET_SPDY_MULTIPLEXED_HTTP_STREAM_H_ | 39 #endif // NET_SPDY_MULTIPLEXED_HTTP_STREAM_H_ |
OLD | NEW |