| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/http/http_pipelined_stream.h" | 5 #include "net/http/http_pipelined_stream.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/stringprintf.h" | 8 #include "base/stringprintf.h" |
| 9 #include "net/base/net_errors.h" | 9 #include "net/base/net_errors.h" |
| 10 #include "net/http/http_pipelined_connection_impl.h" | 10 #include "net/http/http_pipelined_connection_impl.h" |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 | 110 |
| 111 void HttpPipelinedStream::GetSSLCertRequestInfo( | 111 void HttpPipelinedStream::GetSSLCertRequestInfo( |
| 112 SSLCertRequestInfo* cert_request_info) { | 112 SSLCertRequestInfo* cert_request_info) { |
| 113 pipeline_->GetSSLCertRequestInfo(pipeline_id_, cert_request_info); | 113 pipeline_->GetSSLCertRequestInfo(pipeline_id_, cert_request_info); |
| 114 } | 114 } |
| 115 | 115 |
| 116 bool HttpPipelinedStream::IsSpdyHttpStream() const { | 116 bool HttpPipelinedStream::IsSpdyHttpStream() const { |
| 117 return false; | 117 return false; |
| 118 } | 118 } |
| 119 | 119 |
| 120 void HttpPipelinedStream::LogNumRttVsBytesMetrics() const { | |
| 121 // TODO(simonjam): I don't want to copy & paste this from http_basic_stream. | |
| 122 } | |
| 123 | |
| 124 void HttpPipelinedStream::Drain(HttpNetworkSession* session) { | 120 void HttpPipelinedStream::Drain(HttpNetworkSession* session) { |
| 125 pipeline_->Drain(this, session); | 121 pipeline_->Drain(this, session); |
| 126 } | 122 } |
| 127 | 123 |
| 128 const SSLConfig& HttpPipelinedStream::used_ssl_config() const { | 124 const SSLConfig& HttpPipelinedStream::used_ssl_config() const { |
| 129 return pipeline_->used_ssl_config(); | 125 return pipeline_->used_ssl_config(); |
| 130 } | 126 } |
| 131 | 127 |
| 132 const ProxyInfo& HttpPipelinedStream::used_proxy_info() const { | 128 const ProxyInfo& HttpPipelinedStream::used_proxy_info() const { |
| 133 return pipeline_->used_proxy_info(); | 129 return pipeline_->used_proxy_info(); |
| 134 } | 130 } |
| 135 | 131 |
| 136 const BoundNetLog& HttpPipelinedStream::net_log() const { | 132 const BoundNetLog& HttpPipelinedStream::net_log() const { |
| 137 return pipeline_->net_log(); | 133 return pipeline_->net_log(); |
| 138 } | 134 } |
| 139 | 135 |
| 140 bool HttpPipelinedStream::was_npn_negotiated() const { | 136 bool HttpPipelinedStream::was_npn_negotiated() const { |
| 141 return pipeline_->was_npn_negotiated(); | 137 return pipeline_->was_npn_negotiated(); |
| 142 } | 138 } |
| 143 | 139 |
| 144 NextProto HttpPipelinedStream::protocol_negotiated() const { | 140 NextProto HttpPipelinedStream::protocol_negotiated() const { |
| 145 return pipeline_->protocol_negotiated(); | 141 return pipeline_->protocol_negotiated(); |
| 146 } | 142 } |
| 147 | 143 |
| 148 } // namespace net | 144 } // namespace net |
| OLD | NEW |