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

Issue 2822593003: Remove URLRequestJob::GetResponseCode implementations (Closed)

Created:
3 years, 8 months ago by mmenke
Modified:
3 years, 8 months ago
CC:
chromium-reviews, tzik, jam, nhiroki, darin-cc_chromium.org, kinuko+fileapi, zork+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove URLRequestJob::GetResponseCode implementations from streams and fileapi code. 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/2822593003 Cr-Commit-Position: refs/heads/master@{#465588} Committed: https://chromium.googlesource.com/chromium/src/+/f13168e3f095f995d58ac9baf810a71531fd10bf

Patch Set 1 #

Patch Set 2 : Fix #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -15 lines) Patch
M content/browser/streams/stream_url_request_job.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/streams/stream_url_request_job.cc View 1 chunk +0 lines, -7 lines 1 comment Download
M storage/browser/fileapi/file_system_url_request_job.h View 1 chunk +0 lines, -1 line 0 comments Download
M storage/browser/fileapi/file_system_url_request_job.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M storage/browser/fileapi/file_writer_delegate_unittest.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (18 generated)
mmenke
[tyoshino]: Please review content/browser/streams. [nhiroki]: Please review storage/browser/fileapi. Per description, the data returned by GetResponseCode() ...
3 years, 8 months ago (2017-04-17 18:03:29 UTC) #14
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/2822593003/diff/40001/content/browser/streams/stream_url_request_job.cc File content/browser/streams/stream_url_request_job.cc (left): https://codereview.chromium.org/2822593003/diff/40001/content/browser/streams/stream_url_request_job.cc#oldcode147 content/browser/streams/stream_url_request_job.cc:147: OK, but it looks URLRequestJob looks at URLRequest::response_info_ which ...
3 years, 8 months ago (2017-04-18 05:06:55 UTC) #17
mmenke
On 2017/04/18 05:06:55, tyoshino wrote: > https://codereview.chromium.org/2822593003/diff/40001/content/browser/streams/stream_url_request_job.cc > File content/browser/streams/stream_url_request_job.cc (left): > > https://codereview.chromium.org/2822593003/diff/40001/content/browser/streams/stream_url_request_job.cc#oldcode147 > ...
3 years, 8 months ago (2017-04-18 06:43:30 UTC) #18
tyoshino (SeeGerritForStatus)
On 2017/04/18 06:43:30, mmenke wrote: > On 2017/04/18 05:06:55, tyoshino wrote: > > > https://codereview.chromium.org/2822593003/diff/40001/content/browser/streams/stream_url_request_job.cc ...
3 years, 8 months ago (2017-04-18 06:46:29 UTC) #19
mmenke
On 2017/04/18 06:46:29, tyoshino wrote: > On 2017/04/18 06:43:30, mmenke wrote: > > On 2017/04/18 ...
3 years, 8 months ago (2017-04-18 12:26:46 UTC) #20
nhiroki
Sorry for my delayed response. LGTM
3 years, 8 months ago (2017-04-19 09:55:07 UTC) #21
mmenke
On 2017/04/19 09:55:07, nhiroki wrote: > Sorry for my delayed response. LGTM Not a problem, ...
3 years, 8 months ago (2017-04-19 13:08:59 UTC) #22
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/2822593003/40001
3 years, 8 months ago (2017-04-19 13:09:23 UTC) #24
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 14:14:15 UTC) #27
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/f13168e3f095f995d58ac9baf810...

Powered by Google App Engine
This is Rietveld 408576698