• yusufo's avatar
    Add Digital Asset Links verification for postMessage API · 2f2c7513
    yusufo authored
    Adds DigitalAssetLinks handler which queries digitalassetlinks.googleapis.com/
    for verifying the relationship between an Android app and a web domain.
     This is added in a new component digital_asset_links since this API is
     a generic web API for checking Android-Web relationships. It may be
    useful for iOS and ChromeOS as well. The component currently depends on
     base and net.
    
    Then custom tabs uses this handler for verifying postMessage origin declared by
    the client app when they send requestPostMessageChannel. This enabled
    third party apps to use postMessage related APIs with secure and
    verified origin declaration.
    
    BUG=704975
    
    Review-Url: https://codereview.chromium.org/2767333006
    Cr-Commit-Position: refs/heads/master@{#467791}
    2f2c7513
origin_verifier.h 1.68 KB