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 c6525c85a54a7894c0d3e63c375ac886c0b265ed..2ea752540d60f848f02cae0024f5e2cd98d4e359 100644 |
--- a/net/quic/crypto/quic_server_info.h |
+++ b/net/quic/crypto/quic_server_info.h |
@@ -89,6 +89,14 @@ class NET_EXPORT_PRIVATE QuicServerInfo { |
const State& state() const; |
State* mutable_state(); |
+ base::TimeTicks wait_for_data_start_time() const { |
+ return wait_for_data_start_time_; |
+ } |
+ |
+ base::TimeTicks wait_for_data_end_time() const { |
+ return wait_for_data_end_time_; |
+ } |
+ |
protected: |
// Parse parses pickled data and fills out the public member fields of this |
// object. It returns true iff the parse was successful. The public member |
@@ -97,6 +105,10 @@ class NET_EXPORT_PRIVATE QuicServerInfo { |
std::string Serialize(); |
State state_; |
+ // Time when WaitForDataReady was called and when it has finished. |
+ base::TimeTicks wait_for_data_start_time_; |
+ base::TimeTicks wait_for_data_end_time_; |
+ |
private: |
// ParseInner is a helper function for Parse. |
bool ParseInner(const std::string& data); |