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

Unified Diff: net/quic/crypto/quic_server_info.h

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/crypto/quic_crypto_server_config.cc ('k') | net/quic/crypto/source_address_token.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « net/quic/crypto/quic_crypto_server_config.cc ('k') | net/quic/crypto/source_address_token.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698