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/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 <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 NOTREACHED(); | 563 NOTREACHED(); |
564 } | 564 } |
565 | 565 |
566 bool SpdyHttpStream::GetRemoteEndpoint(IPEndPoint* endpoint) { | 566 bool SpdyHttpStream::GetRemoteEndpoint(IPEndPoint* endpoint) { |
567 if (!spdy_session_) | 567 if (!spdy_session_) |
568 return false; | 568 return false; |
569 | 569 |
570 return spdy_session_->GetPeerAddress(endpoint) == OK; | 570 return spdy_session_->GetPeerAddress(endpoint) == OK; |
571 } | 571 } |
572 | 572 |
| 573 Error SpdyHttpStream::GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key, |
| 574 std::vector<uint8_t>* out) { |
| 575 return spdy_session_->GetSignedEKMForTokenBinding(key, out); |
| 576 } |
| 577 |
573 void SpdyHttpStream::Drain(HttpNetworkSession* session) { | 578 void SpdyHttpStream::Drain(HttpNetworkSession* session) { |
574 NOTREACHED(); | 579 NOTREACHED(); |
575 Close(false); | 580 Close(false); |
576 delete this; | 581 delete this; |
577 } | 582 } |
578 | 583 |
579 void SpdyHttpStream::PopulateNetErrorDetails(NetErrorDetails* /*details*/) { | 584 void SpdyHttpStream::PopulateNetErrorDetails(NetErrorDetails* /*details*/) { |
580 return; | 585 return; |
581 } | 586 } |
582 | 587 |
583 void SpdyHttpStream::SetPriority(RequestPriority priority) { | 588 void SpdyHttpStream::SetPriority(RequestPriority priority) { |
584 // TODO(akalin): Plumb this through to |stream_request_| and | 589 // TODO(akalin): Plumb this through to |stream_request_| and |
585 // |stream_|. | 590 // |stream_|. |
586 } | 591 } |
587 | 592 |
588 } // namespace net | 593 } // namespace net |
OLD | NEW |