|
|
Refactor ResourceHandler API.
ResourceHandlers used to have one way to cancel requests synchronously,
and another to do so asynchronously. Now there's only one way to do it:
Call into the ResourceController. The downside to this is that when
cancelling the request, ResourceHandlers also need to tell the upstream
object that the request is "deferred".
This is part of a refactoring to make cancellation synchronous.
BUG=too lazy to look it up right now
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+978 lines, -808 lines) |
Patch |
 |
M |
content/browser/download/download_resource_handler.h
|
View
|
1
2
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/download/download_resource_handler.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+20 lines, -12 lines |
0 comments
|
Download
|
 |
M |
content/browser/download/save_file_resource_handler.h
|
View
|
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/download/save_file_resource_handler.cc
|
View
|
|
5 chunks |
+13 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/DEPS
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/async_resource_handler.h
|
View
|
1
2
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/async_resource_handler.cc
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+38 lines, -27 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/detachable_resource_handler.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/detachable_resource_handler.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+41 lines, -30 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/intercepting_resource_handler.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/intercepting_resource_handler.cc
|
View
|
|
9 chunks |
+53 lines, -51 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/intercepting_resource_handler_unittest.cc
|
View
|
|
34 chunks |
+158 lines, -108 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/layered_resource_handler.h
|
View
|
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/layered_resource_handler.cc
|
View
|
|
2 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/mime_sniffing_resource_handler.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+21 lines, -22 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/mime_sniffing_resource_handler.cc
|
View
|
|
13 chunks |
+59 lines, -58 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/mime_sniffing_resource_handler_unittest.cc
|
View
|
1
|
10 chunks |
+44 lines, -47 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/mojo_async_resource_handler.h
|
View
|
1
2
3
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/mojo_async_resource_handler.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+31 lines, -21 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/mojo_async_resource_handler_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
35 chunks |
+163 lines, -116 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_resource_handler.h
|
View
|
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_resource_handler.cc
|
View
|
|
5 chunks |
+12 lines, -15 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/redirect_to_file_resource_handler.h
|
View
|
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/redirect_to_file_resource_handler.cc
|
View
|
|
6 chunks |
+16 lines, -14 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/resource_handler.h
|
View
|
1
2
3
4
5
|
2 chunks |
+29 lines, -26 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/resource_loader.h
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/resource_loader.cc
|
View
|
1
2
3
4
5
|
9 chunks |
+61 lines, -69 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/resource_loader_unittest.cc
|
View
|
|
4 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/stream_resource_handler.h
|
View
|
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/stream_resource_handler.cc
|
View
|
|
2 chunks |
+9 lines, -14 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/sync_resource_handler.h
|
View
|
1
2
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/sync_resource_handler.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+17 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/test_resource_handler.h
|
View
|
|
2 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/test_resource_handler.cc
|
View
|
|
4 chunks |
+31 lines, -20 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/throttling_resource_handler.h
|
View
|
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/throttling_resource_handler.cc
|
View
|
|
4 chunks |
+48 lines, -40 lines |
0 comments
|
Download
|
Total messages: 39 (33 generated)
|