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

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

Issue 848443004: Adds QUIC_VERSION_24 which uses SPDY/4 header compression instead of SPDY/3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0114
Patch Set: Changes to make version 24 to work with chromium unittests Created 5 years, 11 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 | « net/quic/quic_protocol.cc ('k') | net/quic/quic_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 QuicSession, which demuxes a single connection to individual streams. 5 // A QuicSession, which demuxes a single connection to individual streams.
6 6
7 #ifndef NET_QUIC_QUIC_SESSION_H_ 7 #ifndef NET_QUIC_QUIC_SESSION_H_
8 #define NET_QUIC_QUIC_SESSION_H_ 8 #define NET_QUIC_QUIC_SESSION_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 // QuicConnectionVisitorInterface methods: 62 // QuicConnectionVisitorInterface methods:
63 void OnStreamFrames(const std::vector<QuicStreamFrame>& frames) override; 63 void OnStreamFrames(const std::vector<QuicStreamFrame>& frames) override;
64 void OnRstStream(const QuicRstStreamFrame& frame) override; 64 void OnRstStream(const QuicRstStreamFrame& frame) override;
65 void OnGoAway(const QuicGoAwayFrame& frame) override; 65 void OnGoAway(const QuicGoAwayFrame& frame) override;
66 void OnWindowUpdateFrames( 66 void OnWindowUpdateFrames(
67 const std::vector<QuicWindowUpdateFrame>& frames) override; 67 const std::vector<QuicWindowUpdateFrame>& frames) override;
68 void OnBlockedFrames(const std::vector<QuicBlockedFrame>& frames) override; 68 void OnBlockedFrames(const std::vector<QuicBlockedFrame>& frames) override;
69 void OnConnectionClosed(QuicErrorCode error, bool from_peer) override; 69 void OnConnectionClosed(QuicErrorCode error, bool from_peer) override;
70 void OnWriteBlocked() override {} 70 void OnWriteBlocked() override {}
71 void OnSuccessfulVersionNegotiation(const QuicVersion& version) override {} 71 void OnSuccessfulVersionNegotiation(const QuicVersion& version) override;
72 void OnCanWrite() override; 72 void OnCanWrite() override;
73 void OnCongestionWindowChange(QuicTime now) override {} 73 void OnCongestionWindowChange(QuicTime now) override {}
74 bool WillingAndAbleToWrite() const override; 74 bool WillingAndAbleToWrite() const override;
75 bool HasPendingHandshake() const override; 75 bool HasPendingHandshake() const override;
76 bool HasOpenDataStreams() const override; 76 bool HasOpenDataStreams() const override;
77 77
78 // Called by the headers stream when headers have been received for a stream. 78 // Called by the headers stream when headers have been received for a stream.
79 virtual void OnStreamHeaders(QuicStreamId stream_id, 79 virtual void OnStreamHeaders(QuicStreamId stream_id,
80 base::StringPiece headers_data); 80 base::StringPiece headers_data);
81 // Called by the headers stream when headers with a priority have been 81 // Called by the headers stream when headers with a priority have been
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 332
333 // Indicate if there is pending data for the crypto stream. 333 // Indicate if there is pending data for the crypto stream.
334 bool has_pending_handshake_; 334 bool has_pending_handshake_;
335 335
336 DISALLOW_COPY_AND_ASSIGN(QuicSession); 336 DISALLOW_COPY_AND_ASSIGN(QuicSession);
337 }; 337 };
338 338
339 } // namespace net 339 } // namespace net
340 340
341 #endif // NET_QUIC_QUIC_SESSION_H_ 341 #endif // NET_QUIC_QUIC_SESSION_H_
OLDNEW
« no previous file with comments | « net/quic/quic_protocol.cc ('k') | net/quic/quic_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698