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

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

Issue 1918953003: Landing Recent QUIC changes until 4/22/2016 14:55 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deleted SpdyFramerTests missed while mergeing 120451808 Created 4 years, 8 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_flags.cc ('k') | net/quic/quic_framer.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 #ifndef NET_QUIC_QUIC_FRAMER_H_ 5 #ifndef NET_QUIC_QUIC_FRAMER_H_
6 #define NET_QUIC_QUIC_FRAMER_H_ 6 #define NET_QUIC_QUIC_FRAMER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // Called when a StreamFrame has been parsed. 112 // Called when a StreamFrame has been parsed.
113 virtual bool OnStreamFrame(const QuicStreamFrame& frame) = 0; 113 virtual bool OnStreamFrame(const QuicStreamFrame& frame) = 0;
114 114
115 // Called when a AckFrame has been parsed. If OnAckFrame returns false, 115 // Called when a AckFrame has been parsed. If OnAckFrame returns false,
116 // the framer will stop parsing the current packet. 116 // the framer will stop parsing the current packet.
117 virtual bool OnAckFrame(const QuicAckFrame& frame) = 0; 117 virtual bool OnAckFrame(const QuicAckFrame& frame) = 0;
118 118
119 // Called when a StopWaitingFrame has been parsed. 119 // Called when a StopWaitingFrame has been parsed.
120 virtual bool OnStopWaitingFrame(const QuicStopWaitingFrame& frame) = 0; 120 virtual bool OnStopWaitingFrame(const QuicStopWaitingFrame& frame) = 0;
121 121
122 // Called when a QuicPaddingFrame has been parsed.
123 virtual bool OnPaddingFrame(const QuicPaddingFrame& frame) = 0;
124
122 // Called when a PingFrame has been parsed. 125 // Called when a PingFrame has been parsed.
123 virtual bool OnPingFrame(const QuicPingFrame& frame) = 0; 126 virtual bool OnPingFrame(const QuicPingFrame& frame) = 0;
124 127
125 // Called when a RstStreamFrame has been parsed. 128 // Called when a RstStreamFrame has been parsed.
126 virtual bool OnRstStreamFrame(const QuicRstStreamFrame& frame) = 0; 129 virtual bool OnRstStreamFrame(const QuicRstStreamFrame& frame) = 0;
127 130
128 // Called when a ConnectionCloseFrame has been parsed. 131 // Called when a ConnectionCloseFrame has been parsed.
129 virtual bool OnConnectionCloseFrame( 132 virtual bool OnConnectionCloseFrame(
130 const QuicConnectionCloseFrame& frame) = 0; 133 const QuicConnectionCloseFrame& frame) = 0;
131 134
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 QuicTime::Delta last_timestamp_; 560 QuicTime::Delta last_timestamp_;
558 // The diversification nonce from the last received packet. 561 // The diversification nonce from the last received packet.
559 DiversificationNonce last_nonce_; 562 DiversificationNonce last_nonce_;
560 563
561 DISALLOW_COPY_AND_ASSIGN(QuicFramer); 564 DISALLOW_COPY_AND_ASSIGN(QuicFramer);
562 }; 565 };
563 566
564 } // namespace net 567 } // namespace net
565 568
566 #endif // NET_QUIC_QUIC_FRAMER_H_ 569 #endif // NET_QUIC_QUIC_FRAMER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_flags.cc ('k') | net/quic/quic_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698