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

Issue 2815003003: Headless (breaking change): A better GenericURLRequestJob::Delegate API (Closed)

Created:
3 years, 8 months ago by alex clarke (OOO till 29th)
Modified:
3 years, 8 months ago
Reviewers:
Sami
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Headless: A better GenericURLRequestJob::Delegate API The old Delegate API made it rather awkward to get at the full details of the request. This new API fixes that, whilst allowing more flexible request modification. BUG=546953 Review-Url: https://codereview.chromium.org/2815003003 Cr-Commit-Position: refs/heads/master@{#464382} Committed: https://chromium.googlesource.com/chromium/src/+/a612e798921b4a374aafdb907ed9a38ed0a6c476

Patch Set 1 #

Patch Set 2 #

Patch Set 3 : Remove protocol_handler_request_id_browsertest #

Total comments: 12

Patch Set 4 : Changes for Sami #

Unified diffs Side-by-side diffs Delta from patch set Stats (+677 lines, -523 lines) Patch
M headless/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M headless/public/util/deterministic_http_protocol_handler.cc View 1 2 3 1 chunk +10 lines, -17 lines 0 comments Download
M headless/public/util/generic_url_request_job.h View 1 2 3 3 chunks +124 lines, -47 lines 0 comments Download
M headless/public/util/generic_url_request_job.cc View 1 2 3 7 chunks +162 lines, -72 lines 0 comments Download
M headless/public/util/generic_url_request_job_test.cc View 1 2 3 12 chunks +317 lines, -77 lines 0 comments Download
M headless/public/util/http_url_fetcher.h View 1 chunk +1 line, -1 line 0 comments Download
M headless/public/util/http_url_fetcher.cc View 5 chunks +16 lines, -3 lines 0 comments Download
D headless/public/util/protocol_handler_request_id_browsertest.cc View 1 2 1 chunk +0 lines, -234 lines 0 comments Download
M headless/public/util/testing/generic_url_request_mocks.h View 1 2 3 1 chunk +15 lines, -18 lines 0 comments Download
M headless/public/util/testing/generic_url_request_mocks.cc View 1 2 3 1 chunk +29 lines, -31 lines 0 comments Download
M headless/public/util/url_fetcher.h View 1 chunk +3 lines, -9 lines 0 comments Download
M headless/public/util/url_fetcher.cc View 1 chunk +0 lines, -13 lines 0 comments Download

Messages

Total messages: 23 (17 generated)
alex clarke (OOO till 29th)
PTAL
3 years, 8 months ago (2017-04-13 09:27:38 UTC) #5
Sami
I think this looks like a great overall simplification! https://codereview.chromium.org/2815003003/diff/40001/headless/public/util/generic_url_request_job.cc File headless/public/util/generic_url_request_job.cc (right): https://codereview.chromium.org/2815003003/diff/40001/headless/public/util/generic_url_request_job.cc#newcode196 headless/public/util/generic_url_request_job.cc:196: ...
3 years, 8 months ago (2017-04-13 11:06:32 UTC) #12
alex clarke (OOO till 29th)
PTAL https://codereview.chromium.org/2815003003/diff/40001/headless/public/util/generic_url_request_job.cc File headless/public/util/generic_url_request_job.cc (right): https://codereview.chromium.org/2815003003/diff/40001/headless/public/util/generic_url_request_job.cc#newcode196 headless/public/util/generic_url_request_job.cc:196: std::string GenericURLRequestJob::GetDevtoolsAgentHostId() const { On 2017/04/13 11:06:31, Sami ...
3 years, 8 months ago (2017-04-13 11:16:03 UTC) #14
Sami
Great, lgtm!
3 years, 8 months ago (2017-04-13 11:56:59 UTC) #16
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/2815003003/60001
3 years, 8 months ago (2017-04-13 12:13:55 UTC) #20
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 12:19:10 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/a612e798921b4a374aafdb907ed9...

Powered by Google App Engine
This is Rietveld 408576698