• Sahel Sharify's avatar
    [Payments] Enable payment handlers to declare supported delegations. · 67278f4b
    Sahel Sharify authored
    This cl is an android only change which allows service worker based
    payment handlers on Android to declare their supported delegations
    during registration.
    
    The payment sheet is also changed to adaptively show/hide shipping/contact
    details section depending on whether or not the user selected payment handler
    will provide shipping address/payer's contact information. Whenever multiple
    payment handlers exist, payment handlers which provide merchant requested
    information are sorted before the rest.
    
    With this change skipping the payment sheet to the payment handler
    window when shipping/contact details are requested will be possible
    as long as the payment handler can provide this information.
    
    Bug: 984694
    Change-Id: I5693a7bd60d7a65b0f9ff5d1c0734867240b57fb
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1902077Reviewed-by: default avatarRouslan Solomakhin <rouslan@chromium.org>
    Commit-Queue: Sahel Sharify <sahel@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#714647}
    67278f4b
chrome_test_java_sources.gni 46.3 KB