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

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

Issue 23597045: Land Recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged QuicPriority to RequestPriority changes Created 7 years, 3 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
« no previous file with comments | « net/quic/congestion_control/tcp_cubic_sender_test.cc ('k') | 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 QuicRstStreamErrorCode error) OVERRIDE; 106 QuicRstStreamErrorCode error) OVERRIDE;
107 virtual void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) OVERRIDE; 107 virtual void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) OVERRIDE;
108 virtual void OnCryptoHandshakeMessageSent( 108 virtual void OnCryptoHandshakeMessageSent(
109 const CryptoHandshakeMessage& message) OVERRIDE; 109 const CryptoHandshakeMessage& message) OVERRIDE;
110 virtual void OnCryptoHandshakeMessageReceived( 110 virtual void OnCryptoHandshakeMessageReceived(
111 const CryptoHandshakeMessage& message) OVERRIDE; 111 const CryptoHandshakeMessage& message) OVERRIDE;
112 virtual bool GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; 112 virtual bool GetSSLInfo(SSLInfo* ssl_info) OVERRIDE;
113 113
114 // QuicConnectionVisitorInterface methods: 114 // QuicConnectionVisitorInterface methods:
115 virtual void ConnectionClose(QuicErrorCode error, bool from_peer) OVERRIDE; 115 virtual void ConnectionClose(QuicErrorCode error, bool from_peer) OVERRIDE;
116 virtual void OnSuccessfulVersionNegotiation(
117 const QuicVersion& version) OVERRIDE;
116 118
117 // Performs a crypto handshake with the server. 119 // Performs a crypto handshake with the server.
118 int CryptoConnect(bool require_confirmation, 120 int CryptoConnect(bool require_confirmation,
119 const CompletionCallback& callback); 121 const CompletionCallback& callback);
120 122
121 // Causes the QuicConnectionHelper to start reading from the socket 123 // Causes the QuicConnectionHelper to start reading from the socket
122 // and passing the data along to the QuicConnection. 124 // and passing the data along to the QuicConnection.
123 void StartReading(); 125 void StartReading();
124 126
125 // Close the session because of |error| and notifies the factory 127 // Close the session because of |error| and notifies the factory
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 BoundNetLog net_log_; 176 BoundNetLog net_log_;
175 QuicConnectionLogger logger_; 177 QuicConnectionLogger logger_;
176 base::WeakPtrFactory<QuicClientSession> weak_factory_; 178 base::WeakPtrFactory<QuicClientSession> weak_factory_;
177 179
178 DISALLOW_COPY_AND_ASSIGN(QuicClientSession); 180 DISALLOW_COPY_AND_ASSIGN(QuicClientSession);
179 }; 181 };
180 182
181 } // namespace net 183 } // namespace net
182 184
183 #endif // NET_QUIC_QUIC_CLIENT_SESSION_H_ 185 #endif // NET_QUIC_QUIC_CLIENT_SESSION_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/tcp_cubic_sender_test.cc ('k') | net/quic/quic_client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698