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

Side by Side Diff: net/socket/ssl_client_socket_openssl.h

Issue 12886034: Remove experimental code to pick the "warmest" socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync, fix conflict Created 7 years, 9 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 | « net/socket/ssl_client_socket_nss.cc ('k') | net/socket/ssl_client_socket_openssl.cc » ('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 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual void Disconnect() OVERRIDE; 79 virtual void Disconnect() OVERRIDE;
80 virtual bool IsConnected() const OVERRIDE; 80 virtual bool IsConnected() const OVERRIDE;
81 virtual bool IsConnectedAndIdle() const OVERRIDE; 81 virtual bool IsConnectedAndIdle() const OVERRIDE;
82 virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE; 82 virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE;
83 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; 83 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE;
84 virtual const BoundNetLog& NetLog() const OVERRIDE; 84 virtual const BoundNetLog& NetLog() const OVERRIDE;
85 virtual void SetSubresourceSpeculation() OVERRIDE; 85 virtual void SetSubresourceSpeculation() OVERRIDE;
86 virtual void SetOmniboxSpeculation() OVERRIDE; 86 virtual void SetOmniboxSpeculation() OVERRIDE;
87 virtual bool WasEverUsed() const OVERRIDE; 87 virtual bool WasEverUsed() const OVERRIDE;
88 virtual bool UsingTCPFastOpen() const OVERRIDE; 88 virtual bool UsingTCPFastOpen() const OVERRIDE;
89 virtual int64 NumBytesRead() const OVERRIDE;
90 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE;
91 virtual bool GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; 89 virtual bool GetSSLInfo(SSLInfo* ssl_info) OVERRIDE;
92 90
93 // Socket implementation. 91 // Socket implementation.
94 virtual int Read(IOBuffer* buf, int buf_len, 92 virtual int Read(IOBuffer* buf, int buf_len,
95 const CompletionCallback& callback) OVERRIDE; 93 const CompletionCallback& callback) OVERRIDE;
96 virtual int Write(IOBuffer* buf, int buf_len, 94 virtual int Write(IOBuffer* buf, int buf_len,
97 const CompletionCallback& callback) OVERRIDE; 95 const CompletionCallback& callback) OVERRIDE;
98 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE; 96 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE;
99 virtual bool SetSendBufferSize(int32 size) OVERRIDE; 97 virtual bool SetSendBufferSize(int32 size) OVERRIDE;
100 98
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 State next_handshake_state_; 191 State next_handshake_state_;
194 NextProtoStatus npn_status_; 192 NextProtoStatus npn_status_;
195 std::string npn_proto_; 193 std::string npn_proto_;
196 std::string server_protos_; 194 std::string server_protos_;
197 BoundNetLog net_log_; 195 BoundNetLog net_log_;
198 }; 196 };
199 197
200 } // namespace net 198 } // namespace net
201 199
202 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 200 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_nss.cc ('k') | net/socket/ssl_client_socket_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698