Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Issue 2827233005: Remove URLRequestJob::GetResponseCode implementations outside of net/. (Closed)

Created:
3 years, 8 months ago by mmenke
Modified:
3 years, 8 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tzik, kinuko+fileapi, nhiroki, extensions-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove URLRequestJob::GetResponseCode implementations outside of net/. URLRequestJob itself now has a default implementation, which gets the response code from the headers returned by GetResponseInfo. We eventually want to remove this method, since it's redundant, and has weird behavior for just when it is and is not safe to call. BUG=688481 Review-Url: https://codereview.chromium.org/2827233005 Cr-Commit-Position: refs/heads/master@{#466631} Committed: https://chromium.googlesource.com/chromium/src/+/ec95f5b430aac7baff41e4b34cda43116a438905

Patch Set 1 #

Patch Set 2 : Fix call, add ios #

Patch Set 3 : Oops #

Total comments: 4

Patch Set 4 : Response to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -16 lines) Patch
M components/update_client/url_request_post_interceptor.cc View 1 2 3 2 chunks +9 lines, -1 line 0 comments Download
M extensions/browser/extension_protocols.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ios/net/protocol_handler_util_unittest.mm View 1 2 2 chunks +0 lines, -4 lines 0 comments Download
M ios/web/webui/url_data_manager_ios_backend.mm View 1 2 chunks +0 lines, -5 lines 0 comments Download
M storage/browser/fileapi/file_writer_delegate_unittest.cc View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (21 generated)
mmenke
[+sorin] Please review components/update_client/url_request_post_interceptor.cc [+lazyboy]: Please review extensions/ [+marq]: Please review ios/ [+nhiroki]: Please review ...
3 years, 8 months ago (2017-04-21 18:56:07 UTC) #17
Sorin Jianu
lgtm Thank you! component updater lgtm https://codereview.chromium.org/2827233005/diff/60001/components/update_client/url_request_post_interceptor.cc File components/update_client/url_request_post_interceptor.cc (right): https://codereview.chromium.org/2827233005/diff/60001/components/update_client/url_request_post_interceptor.cc#newcode38 components/update_client/url_request_post_interceptor.cc:38: std::string headers = ...
3 years, 8 months ago (2017-04-21 19:56:27 UTC) #20
mmenke
Thanks for the feedback! https://codereview.chromium.org/2827233005/diff/60001/components/update_client/url_request_post_interceptor.cc File components/update_client/url_request_post_interceptor.cc (right): https://codereview.chromium.org/2827233005/diff/60001/components/update_client/url_request_post_interceptor.cc#newcode38 components/update_client/url_request_post_interceptor.cc:38: std::string headers = On 2017/04/21 ...
3 years, 8 months ago (2017-04-21 20:03:03 UTC) #21
Sorin Jianu
lgtm Thank you so much!
3 years, 8 months ago (2017-04-21 20:04:44 UTC) #22
lazyboy
extension_protocols.cc lgtm.
3 years, 8 months ago (2017-04-21 20:35:39 UTC) #23
nhiroki
fileapi lgtm
3 years, 8 months ago (2017-04-22 02:26:52 UTC) #24
marq (ping after 24h)
ios/ LGTM
3 years, 8 months ago (2017-04-24 07:44:38 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2827233005/80001
3 years, 8 months ago (2017-04-24 12:49:14 UTC) #27
commit-bot: I haz the power
3 years, 8 months ago (2017-04-24 15:33:58 UTC) #30
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/ec95f5b430aac7baff41e4b34cda...

Powered by Google App Engine
This is Rietveld 408576698