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

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: rebase Created 5 years, 2 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 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 NOTREACHED(); 541 NOTREACHED();
542 } 542 }
543 543
544 bool SpdyHttpStream::GetRemoteEndpoint(IPEndPoint* endpoint) { 544 bool SpdyHttpStream::GetRemoteEndpoint(IPEndPoint* endpoint) {
545 if (!spdy_session_) 545 if (!spdy_session_)
546 return false; 546 return false;
547 547
548 return spdy_session_->GetPeerAddress(endpoint) == OK; 548 return spdy_session_->GetPeerAddress(endpoint) == OK;
549 } 549 }
550 550
551 int SpdyHttpStream::GetTokenBindingMessageHeader(std::string* out) {
552 return ERR_NOT_IMPLEMENTED;
553 }
554
551 void SpdyHttpStream::Drain(HttpNetworkSession* session) { 555 void SpdyHttpStream::Drain(HttpNetworkSession* session) {
552 NOTREACHED(); 556 NOTREACHED();
553 Close(false); 557 Close(false);
554 delete this; 558 delete this;
555 } 559 }
556 560
557 void SpdyHttpStream::SetPriority(RequestPriority priority) { 561 void SpdyHttpStream::SetPriority(RequestPriority priority) {
558 // TODO(akalin): Plumb this through to |stream_request_| and 562 // TODO(akalin): Plumb this through to |stream_request_| and
559 // |stream_|. 563 // |stream_|.
560 } 564 }
561 565
562 } // namespace net 566 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698