• Rouslan Solomakhin's avatar
    [Web Payment] At most one IS_READY_TO_PAY service · 1f85bba7
    Rouslan Solomakhin authored
    Before this patch, the platform-specific Chrome OS Android app
    communication code was checking the number of IS_READY_TO_PAY services
    in an Android app, which could cause duplication of logic between Chrome
    OS and Android.
    
    This patch moves the check for number of IS_READY_TO_PAY services from
    the platform specific Chrome OS Android app communication to the
    cross-platform Android payment app factory.
    
    After this patch, the logic for checking the number of IS_READY_TO_PAY
    services is cross-platform.
    
    Bug: 1061503
    Change-Id: I72f3b3040771174d61e72bd71afe5665c5a30865
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2302369
    Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org>
    Reviewed-by: default avatarSahel Sharify <sahel@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#798584}
    1f85bba7
android_app_communication_unittest.cc 24.2 KB