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 #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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 bool last_frame_in_packet, | 456 bool last_frame_in_packet, |
457 QuicDataWriter* writer); | 457 QuicDataWriter* writer); |
458 bool AppendStreamFrame(const QuicStreamFrame& frame, | 458 bool AppendStreamFrame(const QuicStreamFrame& frame, |
459 bool last_frame_in_packet, | 459 bool last_frame_in_packet, |
460 QuicDataWriter* builder); | 460 QuicDataWriter* builder); |
461 bool AppendAckFrameAndTypeByte(const QuicPacketHeader& header, | 461 bool AppendAckFrameAndTypeByte(const QuicPacketHeader& header, |
462 const QuicAckFrame& frame, | 462 const QuicAckFrame& frame, |
463 QuicDataWriter* builder); | 463 QuicDataWriter* builder); |
464 bool AppendCongestionFeedbackFrame(const QuicCongestionFeedbackFrame& frame, | 464 bool AppendCongestionFeedbackFrame(const QuicCongestionFeedbackFrame& frame, |
465 QuicDataWriter* builder); | 465 QuicDataWriter* builder); |
466 bool AppendTimestampFrame(const QuicCongestionFeedbackFrame& frame, | |
467 QuicDataWriter* builder); | |
468 bool AppendStopWaitingFrame(const QuicPacketHeader& header, | 466 bool AppendStopWaitingFrame(const QuicPacketHeader& header, |
469 const QuicStopWaitingFrame& frame, | 467 const QuicStopWaitingFrame& frame, |
470 QuicDataWriter* builder); | 468 QuicDataWriter* builder); |
471 bool AppendRstStreamFrame(const QuicRstStreamFrame& frame, | 469 bool AppendRstStreamFrame(const QuicRstStreamFrame& frame, |
472 QuicDataWriter* builder); | 470 QuicDataWriter* builder); |
473 bool AppendConnectionCloseFrame(const QuicConnectionCloseFrame& frame, | 471 bool AppendConnectionCloseFrame(const QuicConnectionCloseFrame& frame, |
474 QuicDataWriter* builder); | 472 QuicDataWriter* builder); |
475 bool AppendGoAwayFrame(const QuicGoAwayFrame& frame, QuicDataWriter* writer); | 473 bool AppendGoAwayFrame(const QuicGoAwayFrame& frame, QuicDataWriter* writer); |
476 bool AppendWindowUpdateFrame(const QuicWindowUpdateFrame& frame, | 474 bool AppendWindowUpdateFrame(const QuicWindowUpdateFrame& frame, |
477 QuicDataWriter* writer); | 475 QuicDataWriter* writer); |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 // The time this framer was created. Time written to the wire will be | 527 // The time this framer was created. Time written to the wire will be |
530 // written as a delta from this value. | 528 // written as a delta from this value. |
531 QuicTime creation_time_; | 529 QuicTime creation_time_; |
532 | 530 |
533 DISALLOW_COPY_AND_ASSIGN(QuicFramer); | 531 DISALLOW_COPY_AND_ASSIGN(QuicFramer); |
534 }; | 532 }; |
535 | 533 |
536 } // namespace net | 534 } // namespace net |
537 | 535 |
538 #endif // NET_QUIC_QUIC_FRAMER_H_ | 536 #endif // NET_QUIC_QUIC_FRAMER_H_ |
OLD | NEW |