[Web Payment] TWA package name in PaymentAppFactoryParams.
Before this patch, Android payment app finder would determine the TWA package name directly through the package manager, which prevented the C++ browser tests from mocking the TWA package name through the test delegate. This patch changes Android payment app finder to look up the TWA package name through PaymentAppFactoryParams. The PaymentRequestImpl implements the Params interface through the test delegate, which the C++ tests can modify. After this patch, android browser tests can simulate running inside of a TWA. Bug: 1061503 Change-Id: I4d5df8d10f80fbb81678e877496285bc8cedf8b9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2300179 Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org> Reviewed-by:Liquan (Max) Gu <maxlg@chromium.org> Cr-Commit-Position: refs/heads/master@{#798347}
Showing
Please register or sign in to comment