| Index: net/quic/crypto/quic_server_info.h
|
| diff --git a/net/quic/crypto/quic_server_info.h b/net/quic/crypto/quic_server_info.h
|
| index 853504ae70f96882c3d1d5e66165097892554dc3..4b47511e79cb183a9183274ba6e0fe935d8c1051 100644
|
| --- a/net/quic/crypto/quic_server_info.h
|
| +++ b/net/quic/crypto/quic_server_info.h
|
| @@ -55,6 +55,13 @@ class NET_EXPORT_PRIVATE QuicServerInfo {
|
| // callback.
|
| virtual void Persist() = 0;
|
|
|
| + // Helper methods used for computing time spent to read QUIC server
|
| + // information from disk cache.
|
| + const base::TimeTicks& read_start_time() const { return read_start_time_; }
|
| + void set_read_start_time(const base::TimeTicks& request_time) {
|
| + read_start_time_ = request_time;
|
| + }
|
| +
|
| struct State {
|
| State();
|
| ~State();
|
| @@ -94,6 +101,10 @@ class NET_EXPORT_PRIVATE QuicServerInfo {
|
|
|
| // This is the QUIC server hostname for which we restore the crypto_config.
|
| const std::string hostname_;
|
| +
|
| + // Time when call to WaitForDataReady was made, used for computing time spent
|
| + // to read QUIC server information from disk cache.
|
| + base::TimeTicks read_start_time_;
|
| };
|
|
|
| class QuicServerInfoFactory {
|
|
|