OLD | NEW |
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" |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 scoped_ptr<ProofVerifyDetails> verify_details_; | 130 scoped_ptr<ProofVerifyDetails> verify_details_; |
131 | 131 |
132 // The result of certificate verification. | 132 // The result of certificate verification. |
133 scoped_ptr<CertVerifyResult> cert_verify_result_; | 133 scoped_ptr<CertVerifyResult> cert_verify_result_; |
134 | 134 |
135 // 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. |
136 // 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. |
137 int disk_cache_load_result_; | 137 int disk_cache_load_result_; |
138 | 138 |
139 // Time when call to WaitForDataReady was made, used for computing time spent | 139 // Time when call to WaitForDataReady was made, used for computing time spent |
140 // to read QUIC server information from disk cache. | 140 // to load QUIC server information from disk cache. |
141 base::TimeTicks read_start_time_; | 141 base::TimeTicks disk_cache_load_start_time_; |
142 | 142 |
143 base::WeakPtrFactory<QuicCryptoClientStream> weak_factory_; | 143 base::WeakPtrFactory<QuicCryptoClientStream> weak_factory_; |
144 | 144 |
145 DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientStream); | 145 DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientStream); |
146 }; | 146 }; |
147 | 147 |
148 } // namespace net | 148 } // namespace net |
149 | 149 |
150 #endif // NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_H_ | 150 #endif // NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_H_ |
OLD | NEW |