Revert "BundledExchangesParser: Update the bundle format [1/2]"
This reverts commit d8c863a6. Reason for revert: broke build, example: https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8905916412276160432/+/steps/compile__with_patch_/0/stdout Original change's description: > BundledExchangesParser: Update the bundle format [1/2] > > This updates BundledExchangesParser to parse the new bundle format [1]. > > Changes: > - Updated the magic header bytes [2] > - Version field is added (we use implementation-specific version string > "b1\0\0", which matches gen-bundle's output [3]) > - Fallback URL (== Primary URL) field is added > - ParseMetadata() returns error type ("format error" or "version error") > and fallback URL if available > - Updated spec ref comments > > The structure change of the index section is not reflected yet. It will > be updated in the next CL. > > The test bundle file (hello.wbn) is generated with gen-bundle of > github.com/WICG/webpackage revision a3cef2c, which supports the new > bundle format except for the new index section structure. > > [1] https://github.com/WICG/webpackage/pull/450 > [2] https://github.com/WICG/webpackage/pull/454 > [3] https://github.com/WICG/webpackage/pull/458 > > Bug: 969596 > Change-Id: I95744ed00fdd09d369bb8648d1cdf62ca181d0dd > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1715487 > Reviewed-by: Robert Sesek <rsesek@chromium.org> > Reviewed-by: Tsuyoshi Horo <horo@chromium.org> > Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org> > Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> > Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org> > Cr-Commit-Position: refs/heads/master@{#684200} TBR=horo@chromium.org,kinuko@chromium.org,toyoshim@chromium.org,ksakamoto@chromium.org,rsesek@chromium.org Change-Id: Ifce2b07c15a57a2030887cbfaad5853cbc5af992 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 969596 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1737883Reviewed-by:Andrey Kosyakov <caseq@chromium.org> Commit-Queue: Andrey Kosyakov <caseq@chromium.org> Cr-Commit-Position: refs/heads/master@{#684207}
Showing
This diff is collapsed.
This diff is collapsed.
No preview for this file type
Please register or sign in to comment