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

Side by Side Diff: jingle/glue/pseudotcp_adapter.cc

Issue 10690122: Change SpdySession::GetSSLInfo to get the SSLInfo from the underlying socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: FIx curvercp Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « jingle/glue/pseudotcp_adapter.h ('k') | jingle/notifier/base/fake_ssl_client_socket.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 "jingle/glue/pseudotcp_adapter.h" 5 #include "jingle/glue/pseudotcp_adapter.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "net/base/address_list.h" 10 #include "net/base/address_list.h"
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 int64 PseudoTcpAdapter::NumBytesRead() const { 566 int64 PseudoTcpAdapter::NumBytesRead() const {
567 DCHECK(CalledOnValidThread()); 567 DCHECK(CalledOnValidThread());
568 return -1; 568 return -1;
569 } 569 }
570 570
571 base::TimeDelta PseudoTcpAdapter::GetConnectTimeMicros() const { 571 base::TimeDelta PseudoTcpAdapter::GetConnectTimeMicros() const {
572 DCHECK(CalledOnValidThread()); 572 DCHECK(CalledOnValidThread());
573 return base::TimeDelta::FromMicroseconds(-1); 573 return base::TimeDelta::FromMicroseconds(-1);
574 } 574 }
575 575
576 bool PseudoTcpAdapter::WasNpnNegotiated() const {
577 DCHECK(CalledOnValidThread());
578 return false;
579 }
580
576 net::NextProto PseudoTcpAdapter::GetNegotiatedProtocol() const { 581 net::NextProto PseudoTcpAdapter::GetNegotiatedProtocol() const {
577 DCHECK(CalledOnValidThread()); 582 DCHECK(CalledOnValidThread());
578 return net::kProtoUnknown; 583 return net::kProtoUnknown;
579 } 584 }
580 585
586 bool PseudoTcpAdapter::GetSSLInfo(net::SSLInfo* ssl_info) {
587 DCHECK(CalledOnValidThread());
588 return false;
589 }
590
581 void PseudoTcpAdapter::SetAckDelay(int delay_ms) { 591 void PseudoTcpAdapter::SetAckDelay(int delay_ms) {
582 DCHECK(CalledOnValidThread()); 592 DCHECK(CalledOnValidThread());
583 core_->SetAckDelay(delay_ms); 593 core_->SetAckDelay(delay_ms);
584 } 594 }
585 595
586 void PseudoTcpAdapter::SetNoDelay(bool no_delay) { 596 void PseudoTcpAdapter::SetNoDelay(bool no_delay) {
587 DCHECK(CalledOnValidThread()); 597 DCHECK(CalledOnValidThread());
588 core_->SetNoDelay(no_delay); 598 core_->SetNoDelay(no_delay);
589 } 599 }
590 600
591 void PseudoTcpAdapter::SetWriteWaitsForSend(bool write_waits_for_send) { 601 void PseudoTcpAdapter::SetWriteWaitsForSend(bool write_waits_for_send) {
592 DCHECK(CalledOnValidThread()); 602 DCHECK(CalledOnValidThread());
593 core_->SetWriteWaitsForSend(write_waits_for_send); 603 core_->SetWriteWaitsForSend(write_waits_for_send);
594 } 604 }
595 605
596 } // namespace jingle_glue 606 } // namespace jingle_glue
OLDNEW
« no previous file with comments | « jingle/glue/pseudotcp_adapter.h ('k') | jingle/notifier/base/fake_ssl_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698