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

Side by Side Diff: net/quic/quic_client_session.h

Issue 961173003: QuicConnection no longer owns the debug visitor. No behavior change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Cleanup_QUIC_TransmissionInfo_86734009
Patch Set: Fixed leaky ptr Created 5 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
« no previous file with comments | « no previous file | net/quic/quic_client_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // A client specific QuicSession subclass. This class owns the underlying 5 // A client specific QuicSession subclass. This class owns the underlying
6 // QuicConnection and QuicConnectionHelper objects. The connection stores 6 // QuicConnection and QuicConnectionHelper objects. The connection stores
7 // a non-owning pointer to the helper so this session needs to ensure that 7 // a non-owning pointer to the helper so this session needs to ensure that
8 // the helper outlives the connection. 8 // the helper outlives the connection.
9 9
10 #ifndef NET_QUIC_QUIC_CLIENT_SESSION_H_ 10 #ifndef NET_QUIC_QUIC_CLIENT_SESSION_H_
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 scoped_ptr<CertVerifyResult> cert_verify_result_; 233 scoped_ptr<CertVerifyResult> cert_verify_result_;
234 std::string pinning_failure_log_; 234 std::string pinning_failure_log_;
235 ObserverSet observers_; 235 ObserverSet observers_;
236 StreamRequestQueue stream_requests_; 236 StreamRequestQueue stream_requests_;
237 bool read_pending_; 237 bool read_pending_;
238 CompletionCallback callback_; 238 CompletionCallback callback_;
239 size_t num_total_streams_; 239 size_t num_total_streams_;
240 base::TaskRunner* task_runner_; 240 base::TaskRunner* task_runner_;
241 BoundNetLog net_log_; 241 BoundNetLog net_log_;
242 base::TimeTicks handshake_start_; // Time the handshake was started. 242 base::TimeTicks handshake_start_; // Time the handshake was started.
243 QuicConnectionLogger* logger_; // Owned by |connection_|. 243 scoped_ptr<QuicConnectionLogger> logger_;
244 // Number of packets read in the current read loop. 244 // Number of packets read in the current read loop.
245 size_t num_packets_read_; 245 size_t num_packets_read_;
246 // True when the session is going away, and streams may no longer be created 246 // True when the session is going away, and streams may no longer be created
247 // on this session. Existing stream will continue to be processed. 247 // on this session. Existing stream will continue to be processed.
248 bool going_away_; 248 bool going_away_;
249 base::WeakPtrFactory<QuicClientSession> weak_factory_; 249 base::WeakPtrFactory<QuicClientSession> weak_factory_;
250 250
251 DISALLOW_COPY_AND_ASSIGN(QuicClientSession); 251 DISALLOW_COPY_AND_ASSIGN(QuicClientSession);
252 }; 252 };
253 253
254 } // namespace net 254 } // namespace net
255 255
256 #endif // NET_QUIC_QUIC_CLIENT_SESSION_H_ 256 #endif // NET_QUIC_QUIC_CLIENT_SESSION_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698