|
Add buffering to MimeSniffingResourceHandler.
This allows MimeSniffingResourceHandler to be more self-contained, and
removes dependencies on the kMaxBytesToSniff at several other places in the
stack. It should not hurt performance because InterceptingResourceHandler
no longer needs to buffer if MimeSniffingResourceHandler does so.
BUG=
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+335 lines, -678 lines) |
Patch |
|
M |
content/browser/loader/intercepting_resource_handler.h
|
View
|
1
2
|
5 chunks |
+9 lines, -49 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/intercepting_resource_handler.cc
|
View
|
1
2
|
9 chunks |
+23 lines, -163 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/intercepting_resource_handler_unittest.cc
|
View
|
1
2
|
19 chunks |
+48 lines, -81 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/mime_sniffing_resource_handler.h
|
View
|
1
|
4 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/mime_sniffing_resource_handler.cc
|
View
|
1
2
3
|
7 chunks |
+36 lines, -56 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/mime_sniffing_resource_handler_unittest.cc
|
View
|
1
2
3
|
16 chunks |
+189 lines, -103 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/mojo_async_resource_handler.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/mojo_async_resource_handler.cc
|
View
|
1
2
3
4
|
8 chunks |
+9 lines, -98 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/mojo_async_resource_handler_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+0 lines, -92 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/redirect_to_file_resource_handler.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/redirect_to_file_resource_handler.cc
|
View
|
1
2
3
|
3 chunks |
+3 lines, -11 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/redirect_to_file_resource_handler_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
Total messages: 20 (20 generated)
|