Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Side by Side Diff: net/quic/quic_connection_logger.h

Issue 2082773002: Remove calls to MessageLoop::current() in net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: forward declaration Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/proxy/mock_proxy_resolver.cc ('k') | net/quic/quic_connection_logger.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/ip_endpoint.h" 14 #include "net/base/ip_endpoint.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.h" 17 #include "net/log/net_log.h"
18 #include "net/quic/crypto/crypto_handshake_message.h" 18 #include "net/quic/crypto/crypto_handshake_message.h"
19 #include "net/quic/quic_connection.h" 19 #include "net/quic/quic_connection.h"
20 #include "net/quic/quic_protocol.h" 20 #include "net/quic/quic_protocol.h"
21 #include "net/quic/quic_spdy_session.h" 21 #include "net/quic/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 {
25 class HistogramBase;
26 }
27
24 namespace net { 28 namespace net {
25 namespace test { 29 namespace test {
26 class QuicConnectionLoggerPeer; 30 class QuicConnectionLoggerPeer;
27 } // namespace test 31 } // namespace test
28 32
29 33
30 // This class is a debug visitor of a QuicConnection which logs 34 // This class is a debug visitor of a QuicConnection which logs
31 // events to |net_log|. 35 // events to |net_log|.
32 class NET_EXPORT_PRIVATE QuicConnectionLogger 36 class NET_EXPORT_PRIVATE QuicConnectionLogger
33 : public QuicConnectionDebugVisitor, 37 : public QuicConnectionDebugVisitor,
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // Receives notifications regarding the performance of the underlying socket 192 // Receives notifications regarding the performance of the underlying socket
189 // for the QUIC connection. May be null. 193 // for the QUIC connection. May be null.
190 const std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher_; 194 const std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher_;
191 195
192 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); 196 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger);
193 }; 197 };
194 198
195 } // namespace net 199 } // namespace net
196 200
197 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ 201 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_
OLDNEW
« no previous file with comments | « net/proxy/mock_proxy_resolver.cc ('k') | net/quic/quic_connection_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698