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 #include "net/quic/quic_packet_creator.h" | 5 #include "net/quic/quic_packet_creator.h" |
6 | 6 |
| 7 #include "base/basictypes.h" |
7 #include "base/logging.h" | 8 #include "base/logging.h" |
8 #include "net/quic/crypto/quic_random.h" | 9 #include "net/quic/crypto/quic_random.h" |
9 #include "net/quic/quic_ack_notifier.h" | 10 #include "net/quic/quic_ack_notifier.h" |
10 #include "net/quic/quic_fec_group.h" | 11 #include "net/quic/quic_fec_group.h" |
11 #include "net/quic/quic_utils.h" | 12 #include "net/quic/quic_utils.h" |
12 | 13 |
13 using base::StringPiece; | 14 using base::StringPiece; |
14 using std::make_pair; | 15 using std::make_pair; |
15 using std::max; | 16 using std::max; |
16 using std::min; | 17 using std::min; |
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 if (!is_handshake) { | 471 if (!is_handshake) { |
471 return; | 472 return; |
472 } | 473 } |
473 | 474 |
474 QuicPaddingFrame padding; | 475 QuicPaddingFrame padding; |
475 bool success = AddFrame(QuicFrame(&padding), false); | 476 bool success = AddFrame(QuicFrame(&padding), false); |
476 DCHECK(success); | 477 DCHECK(success); |
477 } | 478 } |
478 | 479 |
479 } // namespace net | 480 } // namespace net |
OLD | NEW |