|
|
Remove URLRequest::GetResponseCookies and URLRequestJob::GetResponseCookies.
The response cookies are currently copied for every request and made available to consumers. The cookies are then passed through different parts of the code needlessly as they are only used in one place. This CL removes most of that logic. The sole consumer of the response cookies now retrieves them from the response headers.
Some tests that were relying on the old (cookies are already parsed) logic are updated as well.
BUG= 598452
Committed: https://crrev.com/e74f617c9ca6471411b874fdf43db60a3ef59ccf
Cr-Commit-Position: refs/heads/master@{#399939}
Total comments: 6
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+85 lines, -155 lines) |
Patch |
 |
M |
chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/safe_browsing/client_side_detection_service.h
|
View
|
|
3 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/safe_browsing/client_side_detection_service.cc
|
View
|
1
2
3
|
3 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/signin/inline_login_ui_browsertest.cc
|
View
|
1
2
3
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/service/cloud_print/cloud_print_url_fetcher.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/service/cloud_print/cloud_print_url_fetcher.cc
|
View
|
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc
|
View
|
1
2
|
4 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/service/cloud_print/printer_job_handler.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/service/cloud_print/printer_job_handler.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/policy/core/common/cloud/device_management_service.cc
|
View
|
|
3 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
google_apis/gaia/gaia_auth_fetcher.cc
|
View
|
1
2
3
|
2 chunks |
+16 lines, -2 lines |
0 comments
|
Download
|
 |
M |
google_apis/gaia/gaia_auth_fetcher_unittest.cc
|
View
|
1
2
3
|
25 chunks |
+42 lines, -50 lines |
0 comments
|
Download
|
 |
M |
google_apis/gaia/mock_url_fetcher_factory.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
google_apis/gaia/oauth2_access_token_fetcher_impl.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
google_apis/gaia/oauth2_api_call_flow.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/http/http_response_headers.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/http/http_response_headers.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/url_request/test_url_fetcher_factory.h
|
View
|
|
3 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/url_request/test_url_fetcher_factory.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_fetcher.h
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_fetcher_core.h
|
View
|
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_fetcher_core.cc
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_fetcher_impl.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/url_request/url_fetcher_impl.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_fetcher_impl_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/url_request/url_request.h
|
View
|
|
2 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_http_job.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_http_job.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_job.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_job.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/http_bridge_unittest.cc
|
View
|
1
2
|
2 chunks |
+1 line, -6 lines |
0 comments
|
Download
|
Total messages: 23 (11 generated)
|