commit | 2a56b5f03054e48ac2158ccaa02d78e296fd151d | [log] [tgz] |
---|---|---|
author | Sahel Sharify <[email protected]> | Thu Nov 28 19:27:19 2019 |
committer | Commit Bot <[email protected]> | Thu Nov 28 19:27:19 2019 |
tree | d90815e82253368fd02997e09263aaf49366a2ec | |
parent | a1373aea76fe8e07ff0afbb4ac5376fc678ce85b [diff] [blame] |
[Payments] Shipping/contact delegation for installable payment apps. This cl enables reading shipping and contact info delegation for JIT installation of payment apps on Android. Bug: 984694 Change-Id: I722ca93c462acc623f0f3e9fb8d2f787f8b69c09 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1941193 Reviewed-by: Danyao Wang <[email protected]> Reviewed-by: Michael Thiessen <[email protected]> Commit-Queue: Sahel Sharify <[email protected]> Cr-Commit-Position: refs/heads/master@{#720044}
diff --git a/components/payments/content/payment_request.cc b/components/payments/content/payment_request.cc index 1e4418d..0bbc437 100644 --- a/components/payments/content/payment_request.cc +++ b/components/payments/content/payment_request.cc
@@ -435,6 +435,10 @@ return; } + if (observer_for_testing_) { + observer_for_testing_->OnCompleteCalled(); + } + // Failed transactions show an error. Successful and unknown-state // transactions don't show an error. if (result == mojom::PaymentComplete::FAIL) {