| 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_generator.h" | 5 #include "net/quic/quic_packet_generator.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" |
| 7 #include "base/logging.h" | 8 #include "base/logging.h" |
| 8 #include "net/quic/quic_fec_group.h" | 9 #include "net/quic/quic_fec_group.h" |
| 9 #include "net/quic/quic_utils.h" | 10 #include "net/quic/quic_utils.h" |
| 10 | 11 |
| 11 using base::StringPiece; | 12 using base::StringPiece; |
| 12 | 13 |
| 13 namespace net { | 14 namespace net { |
| 14 | 15 |
| 15 class QuicAckNotifier; | 16 class QuicAckNotifier; |
| 16 | 17 |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 delegate_->OnSerializedPacket(serialized_packet); | 245 delegate_->OnSerializedPacket(serialized_packet); |
| 245 | 246 |
| 246 if (packet_creator_->ShouldSendFec(false)) { | 247 if (packet_creator_->ShouldSendFec(false)) { |
| 247 SerializedPacket serialized_fec = packet_creator_->SerializeFec(); | 248 SerializedPacket serialized_fec = packet_creator_->SerializeFec(); |
| 248 DCHECK(serialized_fec.packet); | 249 DCHECK(serialized_fec.packet); |
| 249 delegate_->OnSerializedPacket(serialized_fec); | 250 delegate_->OnSerializedPacket(serialized_fec); |
| 250 } | 251 } |
| 251 } | 252 } |
| 252 | 253 |
| 253 } // namespace net | 254 } // namespace net |
| OLD | NEW |