|
|
Remove content::RequestInfo
This class is used only for passing bunch of parameters to the
ResourceDispatcher from the WebURLLoaderImpl. Inside ResourceDispatcher,
almost all of the members are just copied to a ResourceRequest created
in it and converted into an IPC message. It's useless and is bothering
developers with extra click when exploring and coding of trivial lines.
Let's remove it.
Comments in request_info.h are copied to resource_request.h and
resource_dispatcher.h if needed.
ResourceRequest creation logic in unit tests are adjusted so that
variables for which the default value of RequestInfo is different from
one of ResourceRequest are set to one of RequestInfo as before.
Bonus: Typo fix visiblity -> visibility
R=jam@chromium.org,tsepez@chromium.org
BUG=none
Committed: https://crrev.com/3191d5fe4e3c5778b72c7e3ff5a9ae37783d849d
Cr-Commit-Position: refs/heads/master@{#419997}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+242 lines, -412 lines) |
Patch |
 |
M |
content/browser/loader/resource_dispatcher_host_impl.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/child/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/child/request_extra_data.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/child/request_extra_data.cc
|
View
|
|
2 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
D |
content/child/request_info.h
|
View
|
|
1 chunk |
+0 lines, -142 lines |
0 comments
|
Download
|
 |
D |
content/child/request_info.cc
|
View
|
|
1 chunk |
+0 lines, -37 lines |
0 comments
|
Download
|
 |
M |
content/child/resource_dispatcher.h
|
View
|
|
2 chunks |
+19 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/child/resource_dispatcher.cc
|
View
|
|
6 chunks |
+29 lines, -95 lines |
0 comments
|
Download
|
 |
M |
content/child/resource_dispatcher_unittest.cc
|
View
|
|
18 chunks |
+56 lines, -52 lines |
0 comments
|
Download
|
 |
M |
content/child/url_response_body_consumer_unittest.cc
|
View
|
|
6 chunks |
+29 lines, -14 lines |
0 comments
|
Download
|
 |
M |
content/child/web_url_loader_impl.cc
|
View
|
|
4 chunks |
+49 lines, -40 lines |
0 comments
|
Download
|
 |
M |
content/child/web_url_loader_impl_unittest.cc
|
View
|
|
3 chunks |
+13 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/common/resource_messages.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/common/resource_request.h
|
View
|
|
4 chunks |
+21 lines, -10 lines |
0 comments
|
Download
|
Total messages: 42 (29 generated)
|