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

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

Issue 1128873008: Remove SpdyStream::GetSSLCertRequestInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@opt-in-renego
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | net/spdy/spdy_session.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 510
511 void SpdyHttpStream::GetSSLInfo(SSLInfo* ssl_info) { 511 void SpdyHttpStream::GetSSLInfo(SSLInfo* ssl_info) {
512 DCHECK(stream_.get()); 512 DCHECK(stream_.get());
513 bool using_npn; 513 bool using_npn;
514 NextProto protocol_negotiated = kProtoUnknown; 514 NextProto protocol_negotiated = kProtoUnknown;
515 stream_->GetSSLInfo(ssl_info, &using_npn, &protocol_negotiated); 515 stream_->GetSSLInfo(ssl_info, &using_npn, &protocol_negotiated);
516 } 516 }
517 517
518 void SpdyHttpStream::GetSSLCertRequestInfo( 518 void SpdyHttpStream::GetSSLCertRequestInfo(
519 SSLCertRequestInfo* cert_request_info) { 519 SSLCertRequestInfo* cert_request_info) {
520 DCHECK(stream_.get()); 520 // A SPDY stream cannot request client certificates. Client authentication may
521 stream_->GetSSLCertRequestInfo(cert_request_info); 521 // only occur during the initial SSL handshake.
522 NOTREACHED();
522 } 523 }
523 524
524 bool SpdyHttpStream::IsSpdyHttpStream() const { 525 bool SpdyHttpStream::IsSpdyHttpStream() const {
525 return true; 526 return true;
526 } 527 }
527 528
528 void SpdyHttpStream::Drain(HttpNetworkSession* session) { 529 void SpdyHttpStream::Drain(HttpNetworkSession* session) {
529 Close(false); 530 Close(false);
530 delete this; 531 delete this;
531 } 532 }
532 533
533 void SpdyHttpStream::SetPriority(RequestPriority priority) { 534 void SpdyHttpStream::SetPriority(RequestPriority priority) {
534 // TODO(akalin): Plumb this through to |stream_request_| and 535 // TODO(akalin): Plumb this through to |stream_request_| and
535 // |stream_|. 536 // |stream_|.
536 } 537 }
537 538
538 } // namespace net 539 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | net/spdy/spdy_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698