Remove PDM dependency from PayDM
Removes the PDM parameter from the PayDM's constructor and instead just passes in a repeating callback to notify observers. It also changes the PaymentsDataCleaner's PDM dependency to a PayDM dependency, making it the first class that only depends on one of ADM/PayDM rather than the full PDM. This allows getting rid of some friend declarations! Bug: b/322170538 Change-Id: I158fb9adbee8b0157b2557247a9ecc38751edcbc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5427894 Reviewed-by:Jihad Hanna <jihadghanna@google.com> Commit-Queue: Florian Leimgruber <fleimgruber@google.com> Cr-Commit-Position: refs/heads/main@{#1283067}
Loading
Please register or sign in to comment