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 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "net/base/net_export.h" | 14 #include "net/base/net_export.h" |
15 #include "net/base/network_change_notifier.h" | 15 #include "net/base/network_change_notifier.h" |
16 #include "net/cert/cert_verify_result.h" | 16 #include "net/cert/cert_verify_result.h" |
17 #include "net/log/net_log_with_source.h" | 17 #include "net/log/net_log_with_source.h" |
18 #include "net/quic/core/crypto/crypto_handshake_message.h" | 18 #include "net/quic/core/crypto/crypto_handshake_message.h" |
19 #include "net/quic/core/quic_connection.h" | 19 #include "net/quic/core/quic_connection.h" |
20 #include "net/quic/core/quic_protocol.h" | 20 #include "net/quic/core/quic_packets.h" |
21 #include "net/quic/core/quic_spdy_session.h" | 21 #include "net/quic/core/quic_spdy_session.h" |
22 #include "net/socket/socket_performance_watcher.h" | 22 #include "net/socket/socket_performance_watcher.h" |
23 | 23 |
24 namespace base { | 24 namespace base { |
25 class HistogramBase; | 25 class HistogramBase; |
26 } | 26 } |
27 | 27 |
28 namespace net { | 28 namespace net { |
29 | 29 |
30 // This class is a debug visitor of a QuicConnection which logs | 30 // This class is a debug visitor of a QuicConnection which logs |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 // Receives notifications regarding the performance of the underlying socket | 155 // Receives notifications regarding the performance of the underlying socket |
156 // for the QUIC connection. May be null. | 156 // for the QUIC connection. May be null. |
157 const std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher_; | 157 const std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher_; |
158 | 158 |
159 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); | 159 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); |
160 }; | 160 }; |
161 | 161 |
162 } // namespace net | 162 } // namespace net |
163 | 163 |
164 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ | 164 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ |
OLD | NEW |