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

Issue 2024973002: headless: Allow protocol handler customization (Closed)

Created:
4 years, 6 months ago by Sami
Modified:
4 years, 6 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

headless: Allow protocol handler customization Allow headless clients to provide custom protocol handlers. This lets the clients override how URL requests are fulfilled for different schemes types. Design doc: https://docs.google.com/document/d/1m4CCZGJWOJdHY5MVwQqY3sT-5kBoz7NqmGvIb6-l3fM/edit#bookmark=id.5bqp8w95liri BUG=546953 Committed: https://crrev.com/a65d5e613d85dba0d97b45c651cad1e39ccc21bc Cr-Commit-Position: refs/heads/master@{#397184}

Patch Set 1 #

Patch Set 2 : Fix typo #

Total comments: 4

Patch Set 3 : Review comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -10 lines) Patch
M headless/lib/browser/headless_url_request_context_getter.cc View 1 2 2 chunks +21 lines, -10 lines 2 comments Download
M headless/lib/headless_browser_browsertest.cc View 1 2 2 chunks +126 lines, -0 lines 0 comments Download
M headless/public/headless_browser.h View 5 chunks +11 lines, -0 lines 0 comments Download
M headless/public/headless_browser.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M headless/test/headless_browser_test.h View 2 chunks +8 lines, -0 lines 0 comments Download
M headless/test/headless_browser_test.cc View 3 chunks +46 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (15 generated)
Sami
altimin@/alexclarke@/eseckler@: PTAL Ryan, looks like you're out at the moment. We wanted to have at ...
4 years, 6 months ago (2016-05-31 15:50:46 UTC) #5
Sami
On 2016/05/31 15:50:46, Sami wrote: > altimin@/alexclarke@/eseckler@: PTAL > > Ryan, looks like you're out ...
4 years, 6 months ago (2016-05-31 15:51:20 UTC) #6
alex clarke (OOO till 29th)
lgtm I'm not up to speed with network stuff, but as far as headless goes ...
4 years, 6 months ago (2016-05-31 16:55:51 UTC) #7
Sami
Thanks, addressed. https://codereview.chromium.org/2024973002/diff/20001/headless/lib/browser/headless_url_request_context_getter.cc File headless/lib/browser/headless_url_request_context_getter.cc (right): https://codereview.chromium.org/2024973002/diff/20001/headless/lib/browser/headless_url_request_context_getter.cc#newcode190 headless/lib/browser/headless_url_request_context_getter.cc:190: if (protocol_handlers_.find(url::kDataScheme) == protocol_handlers_.end()) { On 2016/05/31 ...
4 years, 6 months ago (2016-05-31 18:01:39 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2024973002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2024973002/40001
4 years, 6 months ago (2016-05-31 18:02:32 UTC) #11
Ryan Sleevi
On 2016/05/31 18:02:32, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
4 years, 6 months ago (2016-05-31 18:42:01 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-05-31 19:05:48 UTC) #14
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/789f9abbbc69e5d485984a9d7b4e3d167054919f Cr-Commit-Position: refs/heads/master@{#396884}
4 years, 6 months ago (2016-05-31 19:08:26 UTC) #16
Sami
On 2016/05/31 18:42:01, Ryan Sleevi (OOO til 6-6) wrote: > Please don't commit this until ...
4 years, 6 months ago (2016-06-01 09:36:01 UTC) #17
Sami
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2026253002/ by skyostil@chromium.org. ...
4 years, 6 months ago (2016-06-01 09:36:35 UTC) #18
Sami
mmenke@/rdsmith@, could one of you please have a look? See the linked (internal!) design doc ...
4 years, 6 months ago (2016-06-01 09:39:03 UTC) #21
mmenke
Is the plan to use a custom protocol handler for HTTP/HTTPS? If so, worth noting ...
4 years, 6 months ago (2016-06-01 15:32:19 UTC) #24
Sami
On 2016/06/01 15:32:19, mmenke (OOO May 30-31) wrote: > Is the plan to use a ...
4 years, 6 months ago (2016-06-01 15:44:52 UTC) #25
mmenke
On 2016/06/01 15:44:52, Sami wrote: > On 2016/06/01 15:32:19, mmenke (OOO May 30-31) wrote: > ...
4 years, 6 months ago (2016-06-01 15:51:15 UTC) #26
Sami
On 2016/06/01 15:51:15, mmenke (OOO May 30-31) wrote: > Correct, assuming you don't want your ...
4 years, 6 months ago (2016-06-01 15:52:51 UTC) #27
mmenke
On 2016/06/01 15:52:51, Sami wrote: > On 2016/06/01 15:51:15, mmenke (OOO May 30-31) wrote: > ...
4 years, 6 months ago (2016-06-01 17:05:05 UTC) #28
Sami
On 2016/06/01 17:05:05, mmenke wrote: > Great, this approach seems fine, then, as long as ...
4 years, 6 months ago (2016-06-01 17:21:32 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2024973002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2024973002/40001
4 years, 6 months ago (2016-06-01 17:59:02 UTC) #31
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-01 18:04:36 UTC) #33
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 18:05:39 UTC) #35
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a65d5e613d85dba0d97b45c651cad1e39ccc21bc
Cr-Commit-Position: refs/heads/master@{#397184}

Powered by Google App Engine
This is Rietveld 408576698