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

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

Issue 7255002: Revert 90373 - Warmth of a connection (cwnd) is estimated by the amount of data written to the so... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_WIN_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #define SECURITY_WIN32 // Needs to be defined before including security.h 9 #define SECURITY_WIN32 // Needs to be defined before including security.h
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual void Disconnect(); 55 virtual void Disconnect();
56 virtual bool IsConnected() const; 56 virtual bool IsConnected() const;
57 virtual bool IsConnectedAndIdle() const; 57 virtual bool IsConnectedAndIdle() const;
58 virtual int GetPeerAddress(AddressList* address) const; 58 virtual int GetPeerAddress(AddressList* address) const;
59 virtual int GetLocalAddress(IPEndPoint* address) const; 59 virtual int GetLocalAddress(IPEndPoint* address) const;
60 virtual const BoundNetLog& NetLog() const { return net_log_; } 60 virtual const BoundNetLog& NetLog() const { return net_log_; }
61 virtual void SetSubresourceSpeculation(); 61 virtual void SetSubresourceSpeculation();
62 virtual void SetOmniboxSpeculation(); 62 virtual void SetOmniboxSpeculation();
63 virtual bool WasEverUsed() const; 63 virtual bool WasEverUsed() const;
64 virtual bool UsingTCPFastOpen() const; 64 virtual bool UsingTCPFastOpen() const;
65 virtual int64 NumBytesRead() const;
66 virtual base::TimeDelta GetConnectTimeMicros() const;
67 65
68 // Socket methods: 66 // Socket methods:
69 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 67 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback);
70 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback); 68 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback);
71 69
72 virtual bool SetReceiveBufferSize(int32 size); 70 virtual bool SetReceiveBufferSize(int32 size);
73 virtual bool SetSendBufferSize(int32 size); 71 virtual bool SetSendBufferSize(int32 size);
74 72
75 private: 73 private:
76 bool completed_handshake() const { 74 bool completed_handshake() const {
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 196
199 // True when the decrypter needs more data in order to decrypt. 197 // True when the decrypter needs more data in order to decrypt.
200 bool need_more_data_; 198 bool need_more_data_;
201 199
202 BoundNetLog net_log_; 200 BoundNetLog net_log_;
203 }; 201 };
204 202
205 } // namespace net 203 } // namespace net
206 204
207 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_ 205 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_nss.cc ('k') | net/socket/ssl_client_socket_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698