| 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 // 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_CHROMIUM_QUIC_CHROMIUM_CLIENT_SESSION_H_ | 10 #ifndef NET_QUIC_CHROMIUM_QUIC_CHROMIUM_CLIENT_SESSION_H_ |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 void OnWriteError(int error_code) override; | 166 void OnWriteError(int error_code) override; |
| 167 void OnWriteUnblocked() override; | 167 void OnWriteUnblocked() override; |
| 168 | 168 |
| 169 // QuicSpdySession methods: | 169 // QuicSpdySession methods: |
| 170 void OnHeadersHeadOfLineBlocking(QuicTime::Delta delta) override; | 170 void OnHeadersHeadOfLineBlocking(QuicTime::Delta delta) override; |
| 171 | 171 |
| 172 // QuicSession methods: | 172 // QuicSession methods: |
| 173 void OnStreamFrame(const QuicStreamFrame& frame) override; | 173 void OnStreamFrame(const QuicStreamFrame& frame) override; |
| 174 QuicChromiumClientStream* CreateOutgoingDynamicStream( | 174 QuicChromiumClientStream* CreateOutgoingDynamicStream( |
| 175 SpdyPriority priority) override; | 175 SpdyPriority priority) override; |
| 176 QuicCryptoClientStream* GetCryptoStream() override; | 176 const QuicCryptoClientStream* GetCryptoStream() const override; |
| 177 QuicCryptoClientStream* GetMutableCryptoStream() override; |
| 177 void CloseStream(QuicStreamId stream_id) override; | 178 void CloseStream(QuicStreamId stream_id) override; |
| 178 void SendRstStream(QuicStreamId id, | 179 void SendRstStream(QuicStreamId id, |
| 179 QuicRstStreamErrorCode error, | 180 QuicRstStreamErrorCode error, |
| 180 QuicStreamOffset bytes_written) override; | 181 QuicStreamOffset bytes_written) override; |
| 181 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override; | 182 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override; |
| 182 void OnCryptoHandshakeMessageSent( | 183 void OnCryptoHandshakeMessageSent( |
| 183 const CryptoHandshakeMessage& message) override; | 184 const CryptoHandshakeMessage& message) override; |
| 184 void OnCryptoHandshakeMessageReceived( | 185 void OnCryptoHandshakeMessageReceived( |
| 185 const CryptoHandshakeMessage& message) override; | 186 const CryptoHandshakeMessage& message) override; |
| 186 void OnGoAway(const QuicGoAwayFrame& frame) override; | 187 void OnGoAway(const QuicGoAwayFrame& frame) override; |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 // the current sockets_.size() == the passed in value. | 411 // the current sockets_.size() == the passed in value. |
| 411 bool migration_pending_; // True while migration is underway. | 412 bool migration_pending_; // True while migration is underway. |
| 412 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_; | 413 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_; |
| 413 | 414 |
| 414 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession); | 415 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession); |
| 415 }; | 416 }; |
| 416 | 417 |
| 417 } // namespace net | 418 } // namespace net |
| 418 | 419 |
| 419 #endif // NET_QUIC_CHROMIUM_QUIC_CHROMIUM_CLIENT_SESSION_H_ | 420 #endif // NET_QUIC_CHROMIUM_QUIC_CHROMIUM_CLIENT_SESSION_H_ |
| OLD | NEW |