Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: net/spdy/spdy_http_stream.cc

Issue 1378613004: Set Token-Binding HTTP header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tb-tls-ext-new
Patch Set: Remove sequence numbers from mock reads Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698