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

Side by Side Diff: net/http/http_proxy_client_socket.h

Issue 1096203006: Collect all ConnectionAttempts from both sockets in TransportConnectJob. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@domrel_serverip1
Patch Set: Return fake ConnectionAttempt in MockTCPClientSocket Created 5 years, 7 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
« no previous file with comments | « jingle/glue/pseudotcp_adapter.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')
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_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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 bool IsConnected() const override; 65 bool IsConnected() const override;
66 bool IsConnectedAndIdle() const override; 66 bool IsConnectedAndIdle() const override;
67 const BoundNetLog& NetLog() const override; 67 const BoundNetLog& NetLog() const override;
68 void SetSubresourceSpeculation() override; 68 void SetSubresourceSpeculation() override;
69 void SetOmniboxSpeculation() override; 69 void SetOmniboxSpeculation() override;
70 bool WasEverUsed() const override; 70 bool WasEverUsed() const override;
71 bool UsingTCPFastOpen() const override; 71 bool UsingTCPFastOpen() const override;
72 bool WasNpnNegotiated() const override; 72 bool WasNpnNegotiated() const override;
73 NextProto GetNegotiatedProtocol() const override; 73 NextProto GetNegotiatedProtocol() const override;
74 bool GetSSLInfo(SSLInfo* ssl_info) override; 74 bool GetSSLInfo(SSLInfo* ssl_info) override;
75 void GetConnectionAttempts(ConnectionAttempts* out) const override;
76 void ClearConnectionAttempts() override {}
77 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {}
75 78
76 // Socket implementation. 79 // Socket implementation.
77 int Read(IOBuffer* buf, 80 int Read(IOBuffer* buf,
78 int buf_len, 81 int buf_len,
79 const CompletionCallback& callback) override; 82 const CompletionCallback& callback) override;
80 int Write(IOBuffer* buf, 83 int Write(IOBuffer* buf,
81 int buf_len, 84 int buf_len,
82 const CompletionCallback& callback) override; 85 const CompletionCallback& callback) override;
83 int SetReceiveBufferSize(int32 size) override; 86 int SetReceiveBufferSize(int32 size) override;
84 int SetSendBufferSize(int32 size) override; 87 int SetSendBufferSize(int32 size) override;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 ProxyDelegate* proxy_delegate_; 170 ProxyDelegate* proxy_delegate_;
168 171
169 const BoundNetLog net_log_; 172 const BoundNetLog net_log_;
170 173
171 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket); 174 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket);
172 }; 175 };
173 176
174 } // namespace net 177 } // namespace net
175 178
176 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ 179 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « jingle/glue/pseudotcp_adapter.cc ('k') | net/http/http_proxy_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698