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 #include "net/spdy/spdy_http_stream.h" | 5 #include "net/spdy/spdy_http_stream.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 void SpdyHttpStream::GetSSLCertRequestInfo( | 465 void SpdyHttpStream::GetSSLCertRequestInfo( |
466 SSLCertRequestInfo* cert_request_info) { | 466 SSLCertRequestInfo* cert_request_info) { |
467 DCHECK(stream_); | 467 DCHECK(stream_); |
468 stream_->GetSSLCertRequestInfo(cert_request_info); | 468 stream_->GetSSLCertRequestInfo(cert_request_info); |
469 } | 469 } |
470 | 470 |
471 bool SpdyHttpStream::IsSpdyHttpStream() const { | 471 bool SpdyHttpStream::IsSpdyHttpStream() const { |
472 return true; | 472 return true; |
473 } | 473 } |
474 | 474 |
| 475 void SpdyHttpStream::Drain(HttpNetworkSession* session) { |
| 476 Close(false); |
| 477 delete this; |
| 478 } |
| 479 |
475 } // namespace net | 480 } // namespace net |
OLD | NEW |