| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_HTTP_HTTP_PIPELINED_STREAM_H_ | 5 #ifndef NET_HTTP_HTTP_PIPELINED_STREAM_H_ |
| 6 #define NET_HTTP_HTTP_PIPELINED_STREAM_H_ | 6 #define NET_HTTP_HTTP_PIPELINED_STREAM_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 // The ProxyInfo used to establish this this stream's pipeline. | 91 // The ProxyInfo used to establish this this stream's pipeline. |
| 92 const ProxyInfo& used_proxy_info() const; | 92 const ProxyInfo& used_proxy_info() const; |
| 93 | 93 |
| 94 // The BoundNetLog of this stream's pipelined connection. | 94 // The BoundNetLog of this stream's pipelined connection. |
| 95 const BoundNetLog& net_log() const; | 95 const BoundNetLog& net_log() const; |
| 96 | 96 |
| 97 // True if this stream's pipeline was NPN negotiated. | 97 // True if this stream's pipeline was NPN negotiated. |
| 98 bool was_npn_negotiated() const; | 98 bool was_npn_negotiated() const; |
| 99 | 99 |
| 100 // Protocol negotiated with the server. | 100 // Protocol negotiated with the server. |
| 101 SSLClientSocket::NextProto protocol_negotiated() const; | 101 NextProto protocol_negotiated() const; |
| 102 | 102 |
| 103 private: | 103 private: |
| 104 HttpPipelinedConnectionImpl* pipeline_; | 104 HttpPipelinedConnectionImpl* pipeline_; |
| 105 | 105 |
| 106 int pipeline_id_; | 106 int pipeline_id_; |
| 107 | 107 |
| 108 const HttpRequestInfo* request_info_; | 108 const HttpRequestInfo* request_info_; |
| 109 | 109 |
| 110 DISALLOW_COPY_AND_ASSIGN(HttpPipelinedStream); | 110 DISALLOW_COPY_AND_ASSIGN(HttpPipelinedStream); |
| 111 }; | 111 }; |
| 112 | 112 |
| 113 } // namespace net | 113 } // namespace net |
| 114 | 114 |
| 115 #endif // NET_HTTP_HTTP_PIPELINED_STREAM_H_ | 115 #endif // NET_HTTP_HTTP_PIPELINED_STREAM_H_ |
| OLD | NEW |