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

Side by Side Diff: net/socket/unix_domain_client_socket_posix.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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ 5 #ifndef NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_
6 #define NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ 6 #define NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 int GetPeerAddress(IPEndPoint* address) const override; 48 int GetPeerAddress(IPEndPoint* address) const override;
49 int GetLocalAddress(IPEndPoint* address) const override; 49 int GetLocalAddress(IPEndPoint* address) const override;
50 const BoundNetLog& NetLog() const override; 50 const BoundNetLog& NetLog() const override;
51 void SetSubresourceSpeculation() override; 51 void SetSubresourceSpeculation() override;
52 void SetOmniboxSpeculation() override; 52 void SetOmniboxSpeculation() override;
53 bool WasEverUsed() const override; 53 bool WasEverUsed() const override;
54 bool UsingTCPFastOpen() const override; 54 bool UsingTCPFastOpen() const override;
55 bool WasNpnNegotiated() const override; 55 bool WasNpnNegotiated() const override;
56 NextProto GetNegotiatedProtocol() const override; 56 NextProto GetNegotiatedProtocol() const override;
57 bool GetSSLInfo(SSLInfo* ssl_info) override; 57 bool GetSSLInfo(SSLInfo* ssl_info) override;
58 void GetConnectionAttempts(ConnectionAttempts* out) const override;
59 void ClearConnectionAttempts() override {}
60 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {}
58 61
59 // Socket implementation. 62 // Socket implementation.
60 int Read(IOBuffer* buf, 63 int Read(IOBuffer* buf,
61 int buf_len, 64 int buf_len,
62 const CompletionCallback& callback) override; 65 const CompletionCallback& callback) override;
63 int Write(IOBuffer* buf, 66 int Write(IOBuffer* buf,
64 int buf_len, 67 int buf_len,
65 const CompletionCallback& callback) override; 68 const CompletionCallback& callback) override;
66 int SetReceiveBufferSize(int32 size) override; 69 int SetReceiveBufferSize(int32 size) override;
67 int SetSendBufferSize(int32 size) override; 70 int SetSendBufferSize(int32 size) override;
(...skipping 10 matching lines...) Expand all
78 // This net log is just to comply StreamSocket::NetLog(). It throws away 81 // This net log is just to comply StreamSocket::NetLog(). It throws away
79 // everything. 82 // everything.
80 BoundNetLog net_log_; 83 BoundNetLog net_log_;
81 84
82 DISALLOW_COPY_AND_ASSIGN(UnixDomainClientSocket); 85 DISALLOW_COPY_AND_ASSIGN(UnixDomainClientSocket);
83 }; 86 };
84 87
85 } // namespace net 88 } // namespace net
86 89
87 #endif // NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ 90 #endif // NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_
OLDNEW
« no previous file with comments | « net/socket/transport_client_socket_pool_unittest.cc ('k') | net/socket/unix_domain_client_socket_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698