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

Side by Side 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: update UMA data 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_H_ 5 #ifndef NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_H_
6 #define NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_H_ 6 #define NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "base/time/time.h"
11 #include "net/cert/cert_verify_result.h" 12 #include "net/cert/cert_verify_result.h"
12 #include "net/cert/x509_certificate.h" 13 #include "net/cert/x509_certificate.h"
13 #include "net/quic/crypto/proof_verifier.h" 14 #include "net/quic/crypto/proof_verifier.h"
14 #include "net/quic/crypto/quic_crypto_client_config.h" 15 #include "net/quic/crypto/quic_crypto_client_config.h"
15 #include "net/quic/quic_config.h" 16 #include "net/quic/quic_config.h"
16 #include "net/quic/quic_crypto_stream.h" 17 #include "net/quic/quic_crypto_stream.h"
17 18
18 namespace net { 19 namespace net {
19 20
20 class ProofVerifyDetails; 21 class ProofVerifyDetails;
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 string verify_error_details_; 129 string verify_error_details_;
129 scoped_ptr<ProofVerifyDetails> verify_details_; 130 scoped_ptr<ProofVerifyDetails> verify_details_;
130 131
131 // The result of certificate verification. 132 // The result of certificate verification.
132 scoped_ptr<CertVerifyResult> cert_verify_result_; 133 scoped_ptr<CertVerifyResult> cert_verify_result_;
133 134
134 // This member is used to store the result of an asynchronous disk cache read. 135 // This member is used to store the result of an asynchronous disk cache read.
135 // It must not be used after STATE_LOAD_QUIC_SERVER_INFO_COMPLETE. 136 // It must not be used after STATE_LOAD_QUIC_SERVER_INFO_COMPLETE.
136 int disk_cache_load_result_; 137 int disk_cache_load_result_;
137 138
139 // Time when call to WaitForDataReady was made, used for computing time spent
140 // to read QUIC server information from disk cache.
141 base::TimeTicks read_start_time_;
142
138 base::WeakPtrFactory<QuicCryptoClientStream> weak_factory_; 143 base::WeakPtrFactory<QuicCryptoClientStream> weak_factory_;
139 144
140 DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientStream); 145 DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientStream);
141 }; 146 };
142 147
143 } // namespace net 148 } // namespace net
144 149
145 #endif // NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_H_ 150 #endif // NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_crypto_client_stream.cc » ('j') | net/quic/quic_crypto_client_stream.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698