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

Side by Side Diff: net/socket/socks5_client_socket.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: Actual working test 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 NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_ 5 #ifndef NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_
6 #define NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_ 6 #define NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual void Disconnect() OVERRIDE; 55 virtual void Disconnect() OVERRIDE;
56 virtual bool IsConnected() const OVERRIDE; 56 virtual bool IsConnected() const OVERRIDE;
57 virtual bool IsConnectedAndIdle() const OVERRIDE; 57 virtual bool IsConnectedAndIdle() const OVERRIDE;
58 virtual const BoundNetLog& NetLog() const OVERRIDE; 58 virtual const BoundNetLog& NetLog() const OVERRIDE;
59 virtual void SetSubresourceSpeculation() OVERRIDE; 59 virtual void SetSubresourceSpeculation() OVERRIDE;
60 virtual void SetOmniboxSpeculation() OVERRIDE; 60 virtual void SetOmniboxSpeculation() OVERRIDE;
61 virtual bool WasEverUsed() const OVERRIDE; 61 virtual bool WasEverUsed() const OVERRIDE;
62 virtual bool UsingTCPFastOpen() const OVERRIDE; 62 virtual bool UsingTCPFastOpen() const OVERRIDE;
63 virtual int64 NumBytesRead() const OVERRIDE; 63 virtual int64 NumBytesRead() const OVERRIDE;
64 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE; 64 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE;
65 virtual bool WasNpnNegotiated() const OVERRIDE;
65 virtual NextProto GetNegotiatedProtocol() const OVERRIDE; 66 virtual NextProto GetNegotiatedProtocol() const OVERRIDE;
67 virtual bool GetSSLInfo(SSLInfo* ssl_info) const OVERRIDE;
66 68
67 // Socket implementation. 69 // Socket implementation.
68 virtual int Read(IOBuffer* buf, 70 virtual int Read(IOBuffer* buf,
69 int buf_len, 71 int buf_len,
70 const CompletionCallback& callback) OVERRIDE; 72 const CompletionCallback& callback) OVERRIDE;
71 virtual int Write(IOBuffer* buf, 73 virtual int Write(IOBuffer* buf,
72 int buf_len, 74 int buf_len,
73 const CompletionCallback& callback) OVERRIDE; 75 const CompletionCallback& callback) OVERRIDE;
74 76
75 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE; 77 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 HostResolver::RequestInfo host_request_info_; 156 HostResolver::RequestInfo host_request_info_;
155 157
156 BoundNetLog net_log_; 158 BoundNetLog net_log_;
157 159
158 DISALLOW_COPY_AND_ASSIGN(SOCKS5ClientSocket); 160 DISALLOW_COPY_AND_ASSIGN(SOCKS5ClientSocket);
159 }; 161 };
160 162
161 } // namespace net 163 } // namespace net
162 164
163 #endif // NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_ 165 #endif // NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698