[WebLayer] Removes PaymentRequestLifecycleObserver
Context: Before, we planned to remove ChromePaymentRequestService completely, so we created PaymentRequestLifecycleObserver in order for PaymentRequestService to call into PaymentUiService directly. Now that we believe that ChromePaymentRequestService will keep existing as a glue between the UI service and the PRService, the observer becomes unnecessary. Changes: * Removed PaymentRequestLifecycleObserver as a middle man between PaymentRequestService and PaymentUiService; changed to use ChromePaymentRequestService as a middle man instead. * Created PaymentUiService#close() to encapsulate the closing logic. Bug: 1144527 Change-Id: Ib87234e6d2ed98d68586983da9779ba74a62abaf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2514481 Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org> Reviewed-by:Rouslan Solomakhin <rouslan@chromium.org> Cr-Commit-Position: refs/heads/master@{#823375}
Showing
Please register or sign in to comment