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

Side by Side Diff: jingle/notifier/base/proxy_resolving_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
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 // This StreamSocket implementation wraps a ClientSocketHandle that is created 5 // This StreamSocket implementation wraps a ClientSocketHandle that is created
6 // from the client socket pool after resolving proxies. 6 // from the client socket pool after resolving proxies.
7 7
8 #ifndef JINGLE_NOTIFIER_BASE_PROXY_RESOLVING_CLIENT_SOCKET_H_ 8 #ifndef JINGLE_NOTIFIER_BASE_PROXY_RESOLVING_CLIENT_SOCKET_H_
9 #define JINGLE_NOTIFIER_BASE_PROXY_RESOLVING_CLIENT_SOCKET_H_ 9 #define JINGLE_NOTIFIER_BASE_PROXY_RESOLVING_CLIENT_SOCKET_H_
10 #pragma once 10 #pragma once
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual void Disconnect() OVERRIDE; 49 virtual void Disconnect() OVERRIDE;
50 virtual bool IsConnected() const OVERRIDE; 50 virtual bool IsConnected() const OVERRIDE;
51 virtual bool IsConnectedAndIdle() const OVERRIDE; 51 virtual bool IsConnectedAndIdle() const OVERRIDE;
52 virtual int GetPeerAddress(net::AddressList* address) const OVERRIDE; 52 virtual int GetPeerAddress(net::AddressList* address) const OVERRIDE;
53 virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE; 53 virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE;
54 virtual const net::BoundNetLog& NetLog() const OVERRIDE; 54 virtual const net::BoundNetLog& NetLog() const OVERRIDE;
55 virtual void SetSubresourceSpeculation() OVERRIDE; 55 virtual void SetSubresourceSpeculation() OVERRIDE;
56 virtual void SetOmniboxSpeculation() OVERRIDE; 56 virtual void SetOmniboxSpeculation() OVERRIDE;
57 virtual bool WasEverUsed() const OVERRIDE; 57 virtual bool WasEverUsed() const OVERRIDE;
58 virtual bool UsingTCPFastOpen() const OVERRIDE; 58 virtual bool UsingTCPFastOpen() const OVERRIDE;
59 virtual int64 NumBytesRead() const OVERRIDE;
60 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE;
61 59
62 private: 60 private:
63 // Proxy resolution and connection functions. 61 // Proxy resolution and connection functions.
64 void ProcessProxyResolveDone(int status); 62 void ProcessProxyResolveDone(int status);
65 void ProcessConnectDone(int status); 63 void ProcessConnectDone(int status);
66 64
67 void CloseTransportSocket(); 65 void CloseTransportSocket();
68 void RunUserConnectCallback(int status); 66 void RunUserConnectCallback(int status);
69 int ReconsiderProxyAfterError(int error); 67 int ReconsiderProxyAfterError(int error);
70 68
(...skipping 16 matching lines...) Expand all
87 ScopedRunnableMethodFactory<ProxyResolvingClientSocket> 85 ScopedRunnableMethodFactory<ProxyResolvingClientSocket>
88 scoped_runnable_method_factory_; 86 scoped_runnable_method_factory_;
89 87
90 // The callback passed to Connect(). 88 // The callback passed to Connect().
91 net::CompletionCallback* user_connect_callback_; 89 net::CompletionCallback* user_connect_callback_;
92 }; 90 };
93 91
94 } // namespace notifier 92 } // namespace notifier
95 93
96 #endif // JINGLE_NOTIFIER_BASE_PROXY_RESOLVING_CLIENT_SOCKET_H_ 94 #endif // JINGLE_NOTIFIER_BASE_PROXY_RESOLVING_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « jingle/notifier/base/fake_ssl_client_socket_unittest.cc ('k') | jingle/notifier/base/proxy_resolving_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698