| Index: net/socket/client_socket_pool_base.h
|
| ===================================================================
|
| --- net/socket/client_socket_pool_base.h (revision 174803)
|
| +++ net/socket/client_socket_pool_base.h (working copy)
|
| @@ -44,6 +44,7 @@
|
| #include "net/base/network_change_notifier.h"
|
| #include "net/base/request_priority.h"
|
| #include "net/socket/client_socket_pool.h"
|
| +#include "net/socket/connect_timing.h"
|
| #include "net/socket/stream_socket.h"
|
|
|
| namespace net {
|
| @@ -104,6 +105,8 @@
|
| // additional error state to the ClientSocketHandle (post late-binding).
|
| virtual void GetAdditionalErrorState(ClientSocketHandle* handle) {}
|
|
|
| + const ConnectTiming& connect_timing() const { return connect_timing_; }
|
| +
|
| const BoundNetLog& net_log() const { return net_log_; }
|
|
|
| protected:
|
| @@ -112,6 +115,9 @@
|
| void NotifyDelegateOfCompletion(int rv);
|
| void ResetTimer(base::TimeDelta remainingTime);
|
|
|
| + // Connection establishment timing information.
|
| + ConnectTiming connect_timing_;
|
| +
|
| private:
|
| virtual int ConnectInternal() = 0;
|
|
|
| @@ -493,6 +499,7 @@
|
| // Assigns |socket| to |handle| and updates |group|'s counters appropriately.
|
| void HandOutSocket(StreamSocket* socket,
|
| bool reused,
|
| + const ConnectTiming& connect_timing,
|
| ClientSocketHandle* handle,
|
| base::TimeDelta time_idle,
|
| Group* group,
|
|
|