|
Add net log entries that summarize transmit and receive byte counts.
Tx/Rx summaries are integrated into the net log at the last point that bytes were transmitted or received.
Hopefully this will help resolve http://crbug.com/37729 by showing if we've received bytes over the network when we hit the "Waiting for cache" bug.
This change also modernizes the use of NetLog:
- ClientSocket now has a net_log() accessor
- ClientSocket::Connect no longer takes a NetLog, instead the TCPClientSocket constructor takes one, others use their transport socket's NetLog
- TCPClientSocket creates a new source id with source type SOCKET
Also updates PassiveLogCollector infrastructure:
- The LiveRequestsObserver lets a RequestTracker update a RequestInfo just before it is displayed. This allows ConnectJobs to be associated with URLRequests while connecting and then reassociated if they are late-bound to a different request.
BUG= 37729
TEST=tx/rx lines show up in chrome://net-internals/
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=45449
Total comments: 43
Total comments: 2
Total comments: 1
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1539 lines, -404 lines) |
Patch |
 |
M |
chrome/browser/dom_ui/net_internals_ui.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/chrome_net_log.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/chrome_net_log.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/passive_log_collector.h
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+72 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/passive_log_collector.cc
|
View
|
1
2
3
4
5
6
7
|
15 chunks |
+223 lines, -45 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/passive_log_collector_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+846 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/view_net_internals_job_factory.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/notifier/communicator/ssl_socket_adapter.h
|
View
|
1
2
|
4 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/notifier/communicator/ssl_socket_adapter.cc
|
View
|
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/base/net_log.h
|
View
|
1
2
3
|
6 chunks |
+12 lines, -7 lines |
0 comments
|
Download
|
 |
M |
net/base/net_log.cc
|
View
|
1
2
3
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/base/net_log_event_type_list.h
|
View
|
1
2
3
|
4 chunks |
+20 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/ftp/ftp_network_transaction.cc
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_transaction.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/socket/client_socket.h
|
View
|
1
2
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_factory.h
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_factory.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_pool_base.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_pool_base.cc
|
View
|
1
2
3
|
7 chunks |
+18 lines, -14 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_pool_base_unittest.cc
|
View
|
1
2
3
4
|
9 chunks |
+31 lines, -21 lines |
0 comments
|
Download
|
 |
M |
net/socket/socket_test_util.h
|
View
|
1
2
3
4
5
6
|
7 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
M |
net/socket/socket_test_util.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+13 lines, -11 lines |
0 comments
|
Download
|
 |
M |
net/socket/socks5_client_socket.h
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/socket/socks5_client_socket.cc
|
View
|
1
2
|
8 chunks |
+8 lines, -11 lines |
0 comments
|
Download
|
 |
M |
net/socket/socks5_client_socket_unittest.cc
|
View
|
1
2
|
11 chunks |
+45 lines, -35 lines |
0 comments
|
Download
|
 |
M |
net/socket/socks_client_socket.h
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/socket/socks_client_socket.cc
|
View
|
1
2
|
7 chunks |
+8 lines, -11 lines |
0 comments
|
Download
|
 |
M |
net/socket/socks_client_socket_pool.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/socket/socks_client_socket_pool_unittest.cc
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/socket/socks_client_socket_unittest.cc
|
View
|
|
11 chunks |
+30 lines, -30 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_mac.h
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_mac.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+7 lines, -10 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_nss.h
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_nss.cc
|
View
|
1
2
|
6 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_unittest.cc
|
View
|
1
2
3
4
|
15 chunks |
+28 lines, -28 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_win.h
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_win.cc
|
View
|
1
2
|
5 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
 |
M |
net/socket/tcp_client_socket_libevent.h
|
View
|
1
2
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/tcp_client_socket_libevent.cc
|
View
|
1
2
3
|
10 chunks |
+15 lines, -14 lines |
0 comments
|
Download
|
 |
M |
net/socket/tcp_client_socket_pool.cc
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/socket/tcp_client_socket_pool_unittest.cc
|
View
|
1
2
|
10 chunks |
+19 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/socket/tcp_client_socket_unittest.cc
|
View
|
1
2
3
4
|
10 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
net/socket/tcp_client_socket_win.h
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/tcp_client_socket_win.cc
|
View
|
1
2
3
4
5
6
7
|
9 chunks |
+17 lines, -16 lines |
0 comments
|
Download
|
 |
M |
net/socket/tcp_pinger.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket_stream/socket_stream.cc
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_session.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|