|
Implement prefetching in chrome
With this CL (see also issue 2910009), chrome will support basic
prefetching. You can optionally deactivate prefetching with the
command line argument --disable-prefetch.
A new RequestPriority was created as well, IDLE, which is lower
than LOWEST. Unfortunately, SPDY has only two bits for priority, so
as a temporary measure (pending SPDY v3 which will have three), we
have a mapping in SPDY that folds net::LOWEST and net::IDLE together.
BUG= 13505
TEST=http://gemal.dk/browserspy/prefetch.php
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54421
Total comments: 21
Total comments: 9
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+269 lines, -26 lines) |
Patch |
|
M |
build/features_override.gypi
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/renderer_host/resource_dispatcher_host.cc
|
View
|
1
|
2 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/common/chrome_switches.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/chrome_switches.cc
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/test/functional/prefetch.py
|
View
|
2
3
|
1 chunk |
+138 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/base/host_resolver_impl.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
net/base/request_priority.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
net/http/http_network_transaction.h
|
View
|
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/http/http_network_transaction.cc
|
View
|
3
4
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/socket/client_socket_pool_base_unittest.cc
|
View
|
|
3 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
|
M |
net/spdy/spdy_network_transaction_unittest.cc
|
View
|
2
3
4
|
5 chunks |
+61 lines, -4 lines |
0 comments
|
Download
|
|
M |
net/spdy/spdy_session.cc
|
View
|
1
2
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
net/spdy/spdy_stream_unittest.cc
|
View
|
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
net/spdy/spdy_test_util.cc
|
View
|
2
3
4
|
6 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
|
M |
net/url_request/url_request.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webkit/glue/resource_type.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
webkit/glue/weburlloader_impl.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 14 (0 generated)
|