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

Issue 2824813002: Remove URLRequestJob::GetResponseCode implementations. (Closed)

Created:
3 years, 8 months ago by mmenke
Modified:
3 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, android-webview-reviews_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove URLRequestJob::GetResponseCode implementations. 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/2824813002 Cr-Commit-Position: refs/heads/master@{#465292} Committed: https://chromium.googlesource.com/chromium/src/+/e0f6ab79ba3d77e09f20175897bf0664b726fec0

Patch Set 1 #

Patch Set 2 : Missed some stuff #

Patch Set 3 : Fix more stuff #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -72 lines) Patch
M android_webview/browser/net/android_stream_reader_url_request_job.h View 1 chunk +0 lines, -1 line 0 comments Download
M android_webview/browser/net/android_stream_reader_url_request_job.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M components/domain_reliability/uploader_unittest.cc View 1 2 8 chunks +6 lines, -23 lines 0 comments Download
M headless/public/util/deterministic_http_protocol_handler.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M headless/public/util/generic_url_request_job.h View 1 2 5 chunks +0 lines, -5 lines 0 comments Download
M headless/public/util/generic_url_request_job.cc View 1 2 3 chunks +2 lines, -9 lines 0 comments Download
M headless/public/util/generic_url_request_job_test.cc View 1 16 chunks +2 lines, -19 lines 0 comments Download
M headless/public/util/http_url_fetcher.cc View 1 chunk +1 line, -2 lines 0 comments Download
M headless/public/util/testing/generic_url_request_mocks.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M headless/public/util/testing/generic_url_request_mocks.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M headless/public/util/url_fetcher.h View 2 chunks +0 lines, -2 lines 0 comments Download
M headless/public/util/url_fetcher.cc View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 40 (33 generated)
mmenke
[sgurun]: Please review android_webview. [juliatuttle]: Please review domain_reliability. [altimin]: Please review headless.
3 years, 8 months ago (2017-04-17 22:11:20 UTC) #30
mmenke
[+alexclarke]: Please review headless.
3 years, 8 months ago (2017-04-17 22:22:16 UTC) #32
alex clarke (OOO till 29th)
lgtm
3 years, 8 months ago (2017-04-18 07:39:09 UTC) #33
sgurun-gerrit only
lgtm
3 years, 8 months ago (2017-04-18 14:42:15 UTC) #34
Julia Tuttle
domain_reliability lgtm
3 years, 8 months ago (2017-04-18 17:53:29 UTC) #35
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/2824813002/120001
3 years, 8 months ago (2017-04-18 18:05:55 UTC) #37
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 18:12:25 UTC) #40
Message was sent while issue was closed.
Committed patchset #3 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/e0f6ab79ba3d77e09f20175897bf...

Powered by Google App Engine
This is Rietveld 408576698