Chromium Code Reviews| Index: net/quic/quic_client_session.h |
| diff --git a/net/quic/quic_client_session.h b/net/quic/quic_client_session.h |
| index b5590692528f00be6db99a072bf96e1550e92b01..5c47f6f807db6fb30e631aa674b6a6d8d2951b6c 100644 |
| --- a/net/quic/quic_client_session.h |
| +++ b/net/quic/quic_client_session.h |
| @@ -174,6 +174,9 @@ class NET_EXPORT_PRIVATE QuicClientSession : public QuicClientSessionBase { |
| // than the number of round-trips needed for the handshake. |
| int GetNumSentClientHellos() const; |
| + // Return connection's overall packet loss rate in 1/10th of percent. |
| + int PacketLossRate() const; |
|
Ryan Hamilton
2015/03/21 00:04:46
I wonder if a float would be more clear?
ramant (doing other things)
2015/03/21 03:46:05
Done.
|
| + |
| // Returns true if |hostname| may be pooled onto this session. If this |
| // is a secure QUIC session, then |hostname| must match the certificate |
| // presented during the handshake. |
| @@ -238,6 +241,7 @@ class NET_EXPORT_PRIVATE QuicClientSession : public QuicClientSessionBase { |
| bool read_pending_; |
| CompletionCallback callback_; |
| size_t num_total_streams_; |
| + size_t number_of_handshakes_; |
| base::TaskRunner* task_runner_; |
| BoundNetLog net_log_; |
| base::TimeTicks dns_resolution_end_time_; |