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

Unified Diff: net/quic/quic_crypto_client_stream.h

Issue 189963002: QUIC - histograms to measure the time spent to read QUIC sever (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added TODO to use host:port to access QUIC server information Created 6 years, 9 months 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 | « no previous file | net/quic/quic_crypto_client_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_crypto_client_stream.h
diff --git a/net/quic/quic_crypto_client_stream.h b/net/quic/quic_crypto_client_stream.h
index b191193a2f165d9bc402305f302606bd73ce445b..b4ef3d199602c27cc44a460a6237c225624fb029 100644
--- a/net/quic/quic_crypto_client_stream.h
+++ b/net/quic/quic_crypto_client_stream.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/memory/weak_ptr.h"
+#include "base/time/time.h"
#include "net/cert/cert_verify_result.h"
#include "net/cert/x509_certificate.h"
#include "net/quic/crypto/proof_verifier.h"
@@ -135,6 +136,10 @@ class NET_EXPORT_PRIVATE QuicCryptoClientStream : public QuicCryptoStream {
// It must not be used after STATE_LOAD_QUIC_SERVER_INFO_COMPLETE.
int disk_cache_load_result_;
+ // 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_;
wtc 2014/03/10 17:29:28 Nit: this variable is poorly named because "read"
ramant (doing other things) 2014/03/10 20:42:20 Renamed the variable in https://codereview.chromiu
+
base::WeakPtrFactory<QuicCryptoClientStream> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientStream);
« no previous file with comments | « no previous file | net/quic/quic_crypto_client_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698