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

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

Issue 446063005: Move Quic AppendTimestampFrame method out of AppendCongestionFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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_connection_logger.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 <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
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
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_
OLDNEW
« no previous file with comments | « net/quic/quic_connection_logger.cc ('k') | net/quic/quic_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698