commit | 549ca089623cf27c1a8702e0b6fe9d80697537ce | [log] [tgz] |
---|---|---|
author | Kunihiko Sakamoto <ksakamoto@chromium.org> | Thu Aug 01 08:02:42 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Aug 01 08:02:42 2019 |
tree | 56aba61d69b85c9e51eb22780d938face92785eb | |
parent | 9e58c91f95d92adec9e403c3de6a9a13f7af0fd3 [diff] |
BundledExchangesParser: Introduce structs for parse errors This is a preparation for supporting the new bundle format [1]. After this change, ParseMetadata() and ParseResponse() return error as Bundle{Metadata,Response}ParseError struct. At the moment these structs are just wrappers of string, but additional fields will be added in follow up CLs. [1] https://github.com/WICG/webpackage/pull/450 Bug: 969596 Change-Id: I5bdbc84149f818f07470999fc42c8680e46f2385 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1724150 Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org> Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org> Cr-Commit-Position: refs/heads/master@{#683100}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .