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

Side by Side Diff: net/http/http_proxy_client_socket.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/http/http_network_transaction_unittest.cc ('k') | net/http/http_proxy_client_socket.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_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ 5 #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_
6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ 6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // StreamSocket methods: 71 // StreamSocket methods:
72 virtual int Connect(CompletionCallback* callback); 72 virtual int Connect(CompletionCallback* callback);
73 virtual void Disconnect(); 73 virtual void Disconnect();
74 virtual bool IsConnected() const; 74 virtual bool IsConnected() const;
75 virtual bool IsConnectedAndIdle() const; 75 virtual bool IsConnectedAndIdle() const;
76 virtual const BoundNetLog& NetLog() const; 76 virtual const BoundNetLog& NetLog() const;
77 virtual void SetSubresourceSpeculation(); 77 virtual void SetSubresourceSpeculation();
78 virtual void SetOmniboxSpeculation(); 78 virtual void SetOmniboxSpeculation();
79 virtual bool WasEverUsed() const; 79 virtual bool WasEverUsed() const;
80 virtual bool UsingTCPFastOpen() const; 80 virtual bool UsingTCPFastOpen() const;
81 virtual int64 NumBytesRead() const;
82 virtual base::TimeDelta GetConnectTimeMicros() const;
83 81
84 // Socket methods: 82 // Socket methods:
85 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 83 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback);
86 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback); 84 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback);
87 virtual bool SetReceiveBufferSize(int32 size); 85 virtual bool SetReceiveBufferSize(int32 size);
88 virtual bool SetSendBufferSize(int32 size); 86 virtual bool SetSendBufferSize(int32 size);
89 virtual int GetPeerAddress(AddressList* address) const; 87 virtual int GetPeerAddress(AddressList* address) const;
90 virtual int GetLocalAddress(IPEndPoint* address) const; 88 virtual int GetLocalAddress(IPEndPoint* address) const;
91 89
92 private: 90 private:
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 HttpRequestHeaders request_headers_; 160 HttpRequestHeaders request_headers_;
163 161
164 const BoundNetLog net_log_; 162 const BoundNetLog net_log_;
165 163
166 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket); 164 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket);
167 }; 165 };
168 166
169 } // namespace net 167 } // namespace net
170 168
171 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ 169 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/http/http_proxy_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698