OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_CONNECTION_LOGGER_H_ | 5 #ifndef NET_QUIC_QUIC_CONNECTION_LOGGER_H_ |
6 #define NET_QUIC_QUIC_CONNECTION_LOGGER_H_ | 6 #define NET_QUIC_QUIC_CONNECTION_LOGGER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <bitset> | 10 #include <bitset> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "net/base/ip_endpoint.h" | 13 #include "net/base/ip_endpoint.h" |
14 #include "net/base/network_change_notifier.h" | 14 #include "net/base/network_change_notifier.h" |
15 #include "net/base/socket_performance_watcher.h" | |
16 #include "net/log/net_log.h" | 15 #include "net/log/net_log.h" |
17 #include "net/quic/quic_connection.h" | 16 #include "net/quic/quic_connection.h" |
18 #include "net/quic/quic_protocol.h" | 17 #include "net/quic/quic_protocol.h" |
19 #include "net/quic/quic_spdy_session.h" | 18 #include "net/quic/quic_spdy_session.h" |
| 19 #include "net/socket/socket_performance_watcher.h" |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 namespace test { | 22 namespace test { |
23 class QuicConnectionLoggerPeer; | 23 class QuicConnectionLoggerPeer; |
24 } // namespace test | 24 } // namespace test |
25 | 25 |
26 class CryptoHandshakeMessage; | 26 class CryptoHandshakeMessage; |
27 class CertVerifyResult; | 27 class CertVerifyResult; |
28 | 28 |
29 // This class is a debug visitor of a QuicConnection which logs | 29 // This class is a debug visitor of a QuicConnection which logs |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 // Receives notifications regarding the performance of the underlying socket | 186 // Receives notifications regarding the performance of the underlying socket |
187 // for the QUIC connection. May be null. | 187 // for the QUIC connection. May be null. |
188 const std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher_; | 188 const std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher_; |
189 | 189 |
190 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); | 190 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); |
191 }; | 191 }; |
192 | 192 |
193 } // namespace net | 193 } // namespace net |
194 | 194 |
195 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ | 195 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ |
OLD | NEW |