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

Issue 140823010: ResourceFetcher: Add POST support and the ability to set headers (Closed)

Created:
6 years, 11 months ago by mmenke
Modified:
6 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cbentzel+watch_chromium.org, jam
Visibility:
Public.

Description

ResourceFetcher: Add POST support and the ability to set headers These are needed to use the new Link Doctor API. BUG=64832 R=darin@chromium.org, ttuttle@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247445

Patch Set 1 #

Patch Set 2 : Update comments #

Patch Set 3 : Change API slightly, add alt fetcher for a test run #

Patch Set 4 : Remove alternate fetcher #

Total comments: 1

Patch Set 5 : Response to comments (DCHECK on setting body for a GET) #

Patch Set 6 : Fix DCHECK #

Patch Set 7 : Move DCHECK into Start(), remove comment from ResourceFetcher #

Patch Set 8 : Gack #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -65 lines) Patch
M chrome/renderer/net/net_error_helper.cc View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
M content/public/renderer/resource_fetcher.h View 1 2 5 6 1 chunk +18 lines, -9 lines 0 comments Download
M content/renderer/fetchers/image_resource_fetcher.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M content/renderer/fetchers/resource_fetcher_impl.h View 1 2 2 chunks +11 lines, -8 lines 0 comments Download
M content/renderer/fetchers/resource_fetcher_impl.cc View 1 2 3 4 5 6 7 4 chunks +56 lines, -24 lines 0 comments Download
M content/renderer/resource_fetcher_browsertest.cc View 1 2 6 chunks +80 lines, -12 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
mmenke
Plan to remove alt_error_page_resource_fetcher.cc from the CL and land the other one first, just wanted ...
6 years, 11 months ago (2014-01-17 18:03:24 UTC) #1
mmenke
[+ttuttle]: PTAL
6 years, 11 months ago (2014-01-17 18:24:03 UTC) #2
mmenke
ttuttle: Ping
6 years, 11 months ago (2014-01-27 15:34:53 UTC) #3
Deprecated (see juliatuttle)
On 2014/01/27 15:34:53, mmenke wrote: > ttuttle: Ping lgtm.
6 years, 10 months ago (2014-01-27 16:20:51 UTC) #4
mmenke
[+darin]: PTAL. Should be the last of these I send your way.
6 years, 10 months ago (2014-01-27 16:27:40 UTC) #5
darin (slow to review)
LGTM (I wonder if we should do anything to help alert developers who mistakenly set ...
6 years, 10 months ago (2014-01-27 17:23:15 UTC) #6
mmenke
Thanks for the reviews! I went ahead and add a DCHECK when setting the body ...
6 years, 10 months ago (2014-01-27 17:41:15 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/140823010/800002
6 years, 10 months ago (2014-01-27 19:31:59 UTC) #8
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=216749
6 years, 10 months ago (2014-01-27 19:50:14 UTC) #9
mmenke
On 2014/01/27 19:50:14, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 10 months ago (2014-01-27 19:54:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/140823010/930001
6 years, 10 months ago (2014-01-27 21:03:57 UTC) #11
darin (slow to review)
Are you sure you want to assert that in SetBody? What if the next line ...
6 years, 10 months ago (2014-01-27 21:26:52 UTC) #12
mmenke
Good point. I have no idea why that didn't occur to me. On Mon, Jan ...
6 years, 10 months ago (2014-01-27 21:27:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/140823010/950001
6 years, 10 months ago (2014-01-27 21:37:17 UTC) #14
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) content_browsertests, interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=219244
6 years, 10 months ago (2014-01-27 22:10:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/140823010/960001
6 years, 10 months ago (2014-01-28 00:06:17 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) telemetry_perf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=252515
6 years, 10 months ago (2014-01-28 01:48:05 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/140823010/960001
6 years, 10 months ago (2014-01-28 01:52:43 UTC) #18
mmenke
6 years, 10 months ago (2014-01-28 13:32:06 UTC) #19
Message was sent while issue was closed.
Committed patchset #8 manually as r247445 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698