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_connection.h" | 5 #include "net/quic/quic_connection.h" |
6 | 6 |
7 #include <string.h> | 7 #include <string.h> |
8 #include <sys/types.h> | 8 #include <sys/types.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
11 #include <iterator> | 11 #include <iterator> |
12 #include <limits> | 12 #include <limits> |
13 #include <memory> | 13 #include <memory> |
14 #include <set> | 14 #include <set> |
15 #include <utility> | 15 #include <utility> |
16 | 16 |
17 #include "base/format_macros.h" | 17 #include "base/format_macros.h" |
18 #include "base/logging.h" | 18 #include "base/logging.h" |
| 19 #include "base/macros.h" |
19 #include "base/memory/ref_counted.h" | 20 #include "base/memory/ref_counted.h" |
20 #include "base/stl_util.h" | 21 #include "base/stl_util.h" |
21 #include "base/strings/stringprintf.h" | 22 #include "base/strings/stringprintf.h" |
22 #include "net/base/net_errors.h" | 23 #include "net/base/net_errors.h" |
23 #include "net/quic/crypto/crypto_protocol.h" | 24 #include "net/quic/crypto/crypto_protocol.h" |
24 #include "net/quic/crypto/quic_decrypter.h" | 25 #include "net/quic/crypto/quic_decrypter.h" |
25 #include "net/quic/crypto/quic_encrypter.h" | 26 #include "net/quic/crypto/quic_encrypter.h" |
26 #include "net/quic/proto/cached_network_parameters.pb.h" | 27 #include "net/quic/proto/cached_network_parameters.pb.h" |
27 #include "net/quic/quic_bandwidth.h" | 28 #include "net/quic/quic_bandwidth.h" |
28 #include "net/quic/quic_config.h" | 29 #include "net/quic/quic_config.h" |
(...skipping 2361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2390 SendMtuDiscoveryPacket(mtu_discovery_target_); | 2391 SendMtuDiscoveryPacket(mtu_discovery_target_); |
2391 | 2392 |
2392 DCHECK(!mtu_discovery_alarm_->IsSet()); | 2393 DCHECK(!mtu_discovery_alarm_->IsSet()); |
2393 } | 2394 } |
2394 | 2395 |
2395 bool QuicConnection::ack_frame_updated() const { | 2396 bool QuicConnection::ack_frame_updated() const { |
2396 return received_packet_manager_.ack_frame_updated(); | 2397 return received_packet_manager_.ack_frame_updated(); |
2397 } | 2398 } |
2398 | 2399 |
2399 } // namespace net | 2400 } // namespace net |
OLD | NEW |