|
Reland 54771 (and 54795) To enable TCP Preconnection by default
I pulled out the code to update the socket connectivity stats.
I added defensive code which should preclude the crash that
was reported on the stability bot.
I added a second call to update the stats from
~ClientSocketHandle to ensure that we updated the
related ClientSocket when we are torn down.
As noted in the original checkin:
Enable speculative preconnection by default
Added histogram to track preconnection utilization (vs waste).
BUG= 42694
r=mbelshe
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55197
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+225 lines, -38 lines) |
Patch |
 |
M |
chrome/browser/browser_main.cc
|
View
|
1
2
3
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/net/preconnect.h
|
View
|
|
3 chunks |
+19 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/preconnect.cc
|
View
|
|
6 chunks |
+43 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/predictor.h
|
View
|
|
3 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/predictor.cc
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/net.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket.h
|
View
|
|
2 chunks |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
A |
net/socket/client_socket.cc
|
View
|
1
2
3
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_handle.h
|
View
|
|
2 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_handle.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_pool_base.h
|
View
|
|
3 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
Total messages: 2 (0 generated)
|