| 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); |
| 466 bool AppendStopWaitingFrame(const QuicPacketHeader& header, | 468 bool AppendStopWaitingFrame(const QuicPacketHeader& header, |
| 467 const QuicStopWaitingFrame& frame, | 469 const QuicStopWaitingFrame& frame, |
| 468 QuicDataWriter* builder); | 470 QuicDataWriter* builder); |
| 469 bool AppendRstStreamFrame(const QuicRstStreamFrame& frame, | 471 bool AppendRstStreamFrame(const QuicRstStreamFrame& frame, |
| 470 QuicDataWriter* builder); | 472 QuicDataWriter* builder); |
| 471 bool AppendConnectionCloseFrame(const QuicConnectionCloseFrame& frame, | 473 bool AppendConnectionCloseFrame(const QuicConnectionCloseFrame& frame, |
| 472 QuicDataWriter* builder); | 474 QuicDataWriter* builder); |
| 473 bool AppendGoAwayFrame(const QuicGoAwayFrame& frame, QuicDataWriter* writer); | 475 bool AppendGoAwayFrame(const QuicGoAwayFrame& frame, QuicDataWriter* writer); |
| 474 bool AppendWindowUpdateFrame(const QuicWindowUpdateFrame& frame, | 476 bool AppendWindowUpdateFrame(const QuicWindowUpdateFrame& frame, |
| 475 QuicDataWriter* writer); | 477 QuicDataWriter* writer); |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 // The time this frames was created. Time written to the wire will be | 529 // The time this frames was created. Time written to the wire will be |
| 528 // written as a delta from this value. | 530 // written as a delta from this value. |
| 529 QuicTime creation_time_; | 531 QuicTime creation_time_; |
| 530 | 532 |
| 531 DISALLOW_COPY_AND_ASSIGN(QuicFramer); | 533 DISALLOW_COPY_AND_ASSIGN(QuicFramer); |
| 532 }; | 534 }; |
| 533 | 535 |
| 534 } // namespace net | 536 } // namespace net |
| 535 | 537 |
| 536 #endif // NET_QUIC_QUIC_FRAMER_H_ | 538 #endif // NET_QUIC_QUIC_FRAMER_H_ |
| OLD | NEW |