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

Issue 532773002: Implement ManifestFetcher, helper to fetch Web Manifests. (Closed)

Created:
6 years, 3 months ago by mlamouri (slow - plz ping)
Modified:
6 years, 3 months ago
CC:
abarth-chromium, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dcheng, jam, Nate Chapin, kenneth.r.christiansen, Mike West, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Implement ManifestFetcher, helper to fetch Web Manifests. This is implemented on top of ResourceFetcher. BUG=410414 Committed: https://crrev.com/b16c57177635dcc6d88f6eae2eee41af1acf5f58 Cr-Commit-Position: refs/heads/master@{#294744}

Patch Set 1 #

Patch Set 2 : wip #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : add DCHECK include #

Patch Set 6 : add DCHECK include #

Patch Set 7 : add ::Cancel() #

Patch Set 8 : typo #

Total comments: 5

Patch Set 9 : add WebURLLoaderClientImpl #

Total comments: 1

Patch Set 10 : more refactoring #

Patch Set 11 : fix compile #

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+314 lines, -105 lines) Patch
M chrome/renderer/net/net_error_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -1 line 0 comments Download
M content/public/renderer/resource_fetcher.h View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -0 lines 0 comments Download
M content/renderer/fetchers/image_resource_fetcher.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A content/renderer/fetchers/manifest_fetcher.h View 1 2 3 4 5 6 7 8 9 1 chunk +56 lines, -0 lines 0 comments Download
A content/renderer/fetchers/manifest_fetcher.cc View 1 2 3 4 5 6 7 8 9 1 chunk +49 lines, -0 lines 0 comments Download
M content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/fetchers/resource_fetcher_impl.h View 1 2 3 4 5 6 7 8 9 4 chunks +6 lines, -37 lines 0 comments Download
M content/renderer/fetchers/resource_fetcher_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +20 lines, -67 lines 0 comments Download
A content/renderer/fetchers/web_url_loader_client_impl.h View 1 2 3 4 5 6 7 8 1 chunk +82 lines, -0 lines 0 comments Download
A content/renderer/fetchers/web_url_loader_client_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +75 lines, -0 lines 0 comments Download
M content/renderer/resource_fetcher_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/web_ui_mojo_context_state.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 33 (8 generated)
mlamouri (slow - plz ping)
6 years, 3 months ago (2014-09-03 18:59:59 UTC) #2
mlamouri (slow - plz ping)
This is used in a WIP CL: https://code.google.com/p/chromium/issues/detail?id=409996
6 years, 3 months ago (2014-09-03 19:07:28 UTC) #3
mlamouri (slow - plz ping)
On 2014/09/03 19:07:28, Mounir Lamouri wrote: > This is used in a WIP CL: > ...
6 years, 3 months ago (2014-09-03 19:07:56 UTC) #4
kenneth.christiansen
Mike West, do you see a nice way to add CSP support to this? I ...
6 years, 3 months ago (2014-09-05 13:10:36 UTC) #5
kenneth.christiansen
https://codereview.chromium.org/532773002/diff/60001/content/renderer/fetchers/manifest_fetcher.cc File content/renderer/fetchers/manifest_fetcher.cc (right): https://codereview.chromium.org/532773002/diff/60001/content/renderer/fetchers/manifest_fetcher.cc#newcode35 content/renderer/fetchers/manifest_fetcher.cc:35: request_.setRequestContext(blink::WebURLRequest::RequestContextManifest); So it keeps part of your former patch?
6 years, 3 months ago (2014-09-05 13:13:44 UTC) #7
Mike West
I don't see a simple way of adding CSP support with this approach. //content doesn't ...
6 years, 3 months ago (2014-09-05 13:21:38 UTC) #9
mlamouri (slow - plz ping)
https://codereview.chromium.org/532773002/diff/60001/content/renderer/fetchers/manifest_fetcher.cc File content/renderer/fetchers/manifest_fetcher.cc (right): https://codereview.chromium.org/532773002/diff/60001/content/renderer/fetchers/manifest_fetcher.cc#newcode35 content/renderer/fetchers/manifest_fetcher.cc:35: request_.setRequestContext(blink::WebURLRequest::RequestContextManifest); On 2014/09/05 13:13:44, kenneth.christiansen wrote: > So it ...
6 years, 3 months ago (2014-09-05 14:10:41 UTC) #10
mlamouri (slow - plz ping)
mkwst@, is there any chance you could review this CL as non-owner?
6 years, 3 months ago (2014-09-08 15:07:00 UTC) #11
Mike West
This CL looks fine. Mostly because it's almost an exact copy of ResourceFetcherImpl. :) I'd ...
6 years, 3 months ago (2014-09-10 07:45:30 UTC) #12
mlamouri (slow - plz ping)
Basically, my version of the fetcher is following the web semantics while the resource fetcher ...
6 years, 3 months ago (2014-09-10 11:16:05 UTC) #13
Mike West
https://codereview.chromium.org/532773002/diff/140001/content/renderer/fetchers/manifest_fetcher.cc File content/renderer/fetchers/manifest_fetcher.cc (right): https://codereview.chromium.org/532773002/diff/140001/content/renderer/fetchers/manifest_fetcher.cc#newcode37 content/renderer/fetchers/manifest_fetcher.cc:37: request_.setFrameType(blink::WebURLRequest::FrameTypeNone); On 2014/09/10 11:16:05, Mounir Lamouri wrote: > On ...
6 years, 3 months ago (2014-09-10 11:49:56 UTC) #14
mlamouri (slow - plz ping)
On 2014/09/10 11:49:56, Mike West wrote: > https://codereview.chromium.org/532773002/diff/140001/content/renderer/fetchers/manifest_fetcher.cc > File content/renderer/fetchers/manifest_fetcher.cc (right): > > https://codereview.chromium.org/532773002/diff/140001/content/renderer/fetchers/manifest_fetcher.cc#newcode37 ...
6 years, 3 months ago (2014-09-10 12:26:29 UTC) #15
mlamouri (slow - plz ping)
On 2014/09/10 12:26:29, Mounir Lamouri wrote: > On 2014/09/10 11:49:56, Mike West wrote: > > ...
6 years, 3 months ago (2014-09-10 13:24:59 UTC) #16
Mike West
LGTM with the one note about more potential copy/paste removal. You'll still need a //content ...
6 years, 3 months ago (2014-09-10 14:00:12 UTC) #17
mlamouri (slow - plz ping)
There should be no more code copy-pasting. Mike, PTAL
6 years, 3 months ago (2014-09-10 14:00:45 UTC) #18
Mike West
Patchset 10 LGTM. Thanks for taking another pass on the piece I commented on before ...
6 years, 3 months ago (2014-09-10 14:06:44 UTC) #19
mlamouri (slow - plz ping)
Jochen, could you PTAL?
6 years, 3 months ago (2014-09-10 14:17:24 UTC) #20
jochen (gone - plz use gerrit)
lgtm
6 years, 3 months ago (2014-09-12 11:50:42 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/532773002/200001
6 years, 3 months ago (2014-09-12 11:55:36 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/13088)
6 years, 3 months ago (2014-09-12 12:51:31 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/532773002/200001
6 years, 3 months ago (2014-09-12 12:53:44 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/13097)
6 years, 3 months ago (2014-09-12 13:57:24 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/532773002/220001
6 years, 3 months ago (2014-09-13 11:45:36 UTC) #31
commit-bot: I haz the power
Committed patchset #12 (id:220001) as 49973ef98f592fb3e71b63515a7b96da03d0c6b7
6 years, 3 months ago (2014-09-13 12:49:51 UTC) #32
commit-bot: I haz the power
6 years, 3 months ago (2014-09-13 12:53:26 UTC) #33
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/b16c57177635dcc6d88f6eae2eee41af1acf5f58
Cr-Commit-Position: refs/heads/master@{#294744}

Powered by Google App Engine
This is Rietveld 408576698