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

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

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
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 #ifndef JINGLE_GLUE_PSEUDOTCP_ADAPTER_H_ 5 #ifndef JINGLE_GLUE_PSEUDOTCP_ADAPTER_H_
6 #define JINGLE_GLUE_PSEUDOTCP_ADAPTER_H_ 6 #define JINGLE_GLUE_PSEUDOTCP_ADAPTER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual bool IsConnectedAndIdle() const OVERRIDE; 44 virtual bool IsConnectedAndIdle() const OVERRIDE;
45 virtual int GetPeerAddress(net::IPEndPoint* address) const OVERRIDE; 45 virtual int GetPeerAddress(net::IPEndPoint* address) const OVERRIDE;
46 virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE; 46 virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE;
47 virtual const net::BoundNetLog& NetLog() const OVERRIDE; 47 virtual const net::BoundNetLog& NetLog() const OVERRIDE;
48 virtual void SetSubresourceSpeculation() OVERRIDE; 48 virtual void SetSubresourceSpeculation() OVERRIDE;
49 virtual void SetOmniboxSpeculation() OVERRIDE; 49 virtual void SetOmniboxSpeculation() OVERRIDE;
50 virtual bool WasEverUsed() const OVERRIDE; 50 virtual bool WasEverUsed() const OVERRIDE;
51 virtual bool UsingTCPFastOpen() const OVERRIDE; 51 virtual bool UsingTCPFastOpen() const OVERRIDE;
52 virtual int64 NumBytesRead() const OVERRIDE; 52 virtual int64 NumBytesRead() const OVERRIDE;
53 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE; 53 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE;
54 virtual bool WasNpnNegotiated() const OVERRIDE;
54 virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE; 55 virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE;
56 virtual bool GetSSLInfo(net::SSLInfo* ssl_info) OVERRIDE;
55 57
56 // Set the delay for sending ACK. 58 // Set the delay for sending ACK.
57 void SetAckDelay(int delay_ms); 59 void SetAckDelay(int delay_ms);
58 60
59 // Set whether Nagle's algorithm is enabled. 61 // Set whether Nagle's algorithm is enabled.
60 void SetNoDelay(bool no_delay); 62 void SetNoDelay(bool no_delay);
61 63
62 // When write_waits_for_send flag is set to true the Write() method 64 // When write_waits_for_send flag is set to true the Write() method
63 // will wait until the data is sent to the remote end before the 65 // will wait until the data is sent to the remote end before the
64 // write completes (it still doesn't wait until the data is received 66 // write completes (it still doesn't wait until the data is received
(...skipping 18 matching lines...) Expand all
83 scoped_refptr<Core> core_; 85 scoped_refptr<Core> core_;
84 86
85 net::BoundNetLog net_log_; 87 net::BoundNetLog net_log_;
86 88
87 DISALLOW_COPY_AND_ASSIGN(PseudoTcpAdapter); 89 DISALLOW_COPY_AND_ASSIGN(PseudoTcpAdapter);
88 }; 90 };
89 91
90 } // namespace jingle_glue 92 } // namespace jingle_glue
91 93
92 #endif // JINGLE_GLUE_STREAM_SOCKET_ADAPTER_H_ 94 #endif // JINGLE_GLUE_STREAM_SOCKET_ADAPTER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host_test_utils.h ('k') | jingle/glue/pseudotcp_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698