Implement AssetLinkRetriever for Asset Links in Chrome

Desktop / Chromium - vasilii [chromium.org] - 19 June 2017 09:27 EDT

The class makes a network request to a digital asset link. The spec is https://github.com/google/digitalassetlinks/blob/master/well-known/details.md

BUG=630555

Review-Url: https://codereview.chromium.org/2944533003 Cr-Commit-Position: refs/heads/master@{#480421}

2e6f950 Implement AssetLinkRetriever for Asset Links in Chrome.
components/password_manager/core/browser/BUILD.gn | 3 +
.../site_affiliation/asset_link_retriever.cc | 75 ++++++++++++++
.../site_affiliation/asset_link_retriever.h | 67 +++++++++++++
.../asset_link_retriever_unittest.cc | 108 +++++++++++++++++++++
4 files changed, 253 insertions(+)

Upstream: git.chromium.org


  • Share