|
Generalize the net module's LoadLog facility from a passive container, to an event stream (NetLog).
This makes it possible to associate a single NetLog with a URLRequestContext, and then attach observers to that log to watch the stream of events.
This changelist attempts to do the most direct translation, so there will be subsequent iterations to clean up.
The user-visible behavior should remain unchanged.
BUG= 37421
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=41689
Total comments: 49
Total comments: 18
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+2203 lines, -3442 lines) |
Patch |
 |
M |
chrome/browser/io_thread.h
|
View
|
9
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/io_thread.cc
|
View
|
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/net/chrome_net_log.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/net/chrome_net_log.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/chrome_url_request_context.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/chrome_url_request_context.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+4 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/dns_master.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
chrome/browser/net/passive_log_collector.h
|
View
|
9
|
1 chunk |
+138 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/net/passive_log_collector.cc
|
View
|
9
|
1 chunk |
+268 lines, -142 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/net/passive_log_collector_unittest.cc
|
View
|
9
|
5 chunks |
+94 lines, -147 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/view_net_internals_job_factory.cc
|
View
|
1
2
3
4
5
6
7
8
|
15 chunks |
+59 lines, -42 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/notifier/communicator/ssl_socket_adapter.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/notifier/communicator/ssl_socket_adapter.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
net/base/host_resolver.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/base/host_resolver.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/base/host_resolver_impl.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/base/host_resolver_impl.cc
|
View
|
1
2
3
4
5
6
7
|
17 chunks |
+47 lines, -49 lines |
0 comments
|
Download
|
 |
M |
net/base/host_resolver_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+36 lines, -27 lines |
0 comments
|
Download
|
 |
D |
net/base/load_log.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -196 lines |
0 comments
|
Download
|
 |
D |
net/base/load_log.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -48 lines |
0 comments
|
Download
|
 |
D |
net/base/load_log_event_type_list.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -243 lines |
0 comments
|
Download
|
 |
D |
net/base/load_log_unittest.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -130 lines |
0 comments
|
Download
|
 |
M |
net/base/load_log_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -185 lines |
0 comments
|
Download
|
 |
D |
net/base/load_log_util.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -74 lines |
0 comments
|
Download
|
 |
D |
net/base/load_log_util.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -234 lines |
0 comments
|
Download
|
 |
D |
net/base/load_log_util_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -138 lines |
0 comments
|
Download
|
 |
M |
net/base/mapped_host_resolver.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/base/mapped_host_resolver.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/base/mapped_host_resolver_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
net/base/mock_host_resolver.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/base/mock_host_resolver.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
net/base/net_log.h
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+144 lines, -102 lines |
0 comments
|
Download
|
 |
A + |
net/base/net_log.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+131 lines, -25 lines |
0 comments
|
Download
|
 |
A + |
net/base/net_log_event_type_list.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+16 lines, -1 line |
0 comments
|
Download
|
 |
A + |
net/base/net_log_unittest.h
|
View
|
1
6
7
8
|
4 chunks |
+40 lines, -38 lines |
0 comments
|
Download
|
 |
A + |
net/base/net_log_util.h
|
View
|
1
2
3
4
|
2 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
A + |
net/base/net_log_util.cc
|
View
|
1
2
3
4
|
8 chunks |
+32 lines, -29 lines |
0 comments
|
Download
|
 |
A + |
net/base/net_log_util_unittest.cc
|
View
|
1
2
3
4
|
4 chunks |
+85 lines, -78 lines |
0 comments
|
Download
|
 |
M |
net/ftp/ftp_network_transaction.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/ftp/ftp_network_transaction.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/ftp/ftp_transaction.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/http/http_basic_stream.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/http/http_basic_stream.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/http/http_cache_transaction.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/http/http_cache_transaction.cc
|
View
|
1
2
3
4
5
6
7
|
15 chunks |
+18 lines, -18 lines |
0 comments
|
Download
|
 |
M |
net/http/http_cache_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+44 lines, -42 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_layer_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/http/http_network_transaction.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_transaction.cc
|
View
|
1
2
3
4
5
6
7
|
10 chunks |
+26 lines, -40 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_transaction_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
M |
net/http/http_stream_parser.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/http/http_stream_parser.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/http/http_transaction.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/http/http_transaction_unittest.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/net.gyp
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+7 lines, -10 lines |
0 comments
|
Download
|
 |
M |
net/proxy/init_proxy_resolver.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/proxy/init_proxy_resolver.cc
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+18 lines, -24 lines |
0 comments
|
Download
|
 |
M |
net/proxy/init_proxy_resolver_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+38 lines, -36 lines |
0 comments
|
Download
|
 |
M |
net/proxy/mock_proxy_resolver.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_resolver.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_resolver_js_bindings.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_resolver_js_bindings_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_resolver_mac.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_resolver_mac.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_resolver_v8.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_resolver_v8.cc
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+29 lines, -27 lines |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_resolver_v8_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+24 lines, -20 lines |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_resolver_winhttp.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_resolver_winhttp.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_service.h
|
View
|
1
2
3
4
5
6
7
|
10 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_service.cc
|
View
|
1
2
3
4
5
6
7
|
26 chunks |
+51 lines, -50 lines |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_service_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+31 lines, -26 lines |
0 comments
|
Download
|
 |
M |
net/proxy/single_threaded_proxy_resolver.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/proxy/single_threaded_proxy_resolver.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
9 chunks |
+18 lines, -27 lines |
0 comments
|
Download
|
 |
M |
net/proxy/single_threaded_proxy_resolver_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
9 chunks |
+30 lines, -26 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_handle.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_pool.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_pool_base.h
|
View
|
1
2
3
4
5
6
7
|
12 chunks |
+17 lines, -17 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_pool_base.cc
|
View
|
1
2
3
4
5
6
7
|
19 chunks |
+42 lines, -49 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_pool_base_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
15 chunks |
+77 lines, -80 lines |
0 comments
|
Download
|
 |
M |
net/socket/socket_test_util.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/socket/socket_test_util.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/socks5_client_socket.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/socks5_client_socket.cc
|
View
|
1
2
3
4
5
6
7
|
13 chunks |
+33 lines, -35 lines |
0 comments
|
Download
|
 |
M |
net/socket/socks5_client_socket_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+22 lines, -22 lines |
0 comments
|
Download
|
 |
M |
net/socket/socks_client_socket.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/socks_client_socket.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
net/socket/socks_client_socket_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
9 chunks |
+45 lines, -31 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_mac.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_mac.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_nss.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_nss.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+17 lines, -17 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_win.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_win.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
net/socket/tcp_client_socket_libevent.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/tcp_client_socket_libevent.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
M |
net/socket/tcp_client_socket_pool.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/tcp_client_socket_pool.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+13 lines, -15 lines |
0 comments
|
Download
|
 |
M |
net/socket/tcp_client_socket_pool_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/tcp_client_socket_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
net/socket/tcp_client_socket_win.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/tcp_client_socket_win.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
 |
M |
net/socket_stream/socket_stream.h
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
net/socket_stream/socket_stream.cc
|
View
|
1
2
3
4
5
6
7
|
14 chunks |
+21 lines, -28 lines |
0 comments
|
Download
|
 |
M |
net/socket_stream/socket_stream_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_network_transaction.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_network_transaction.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+12 lines, -20 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_network_transaction_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+30 lines, -30 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_session.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_session.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_stream.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_stream.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+10 lines, -18 lines |
0 comments
|
Download
|
 |
D |
net/url_request/request_tracker.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -192 lines |
0 comments
|
Download
|
 |
D |
net/url_request/request_tracker_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -266 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request.h
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+3 lines, -11 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+15 lines, -24 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_context.h
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+8 lines, -18 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_http_job.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_new_ftp_job.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -12 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|