[Payment] CPRService reduces ChromeActivity usages
Context: In some cases, CPRService passes ChromeActivity to PaymentUiService when PUiService really needs Context and WindowAndroid. So this CL changes to provides Context and WindowAndroid to these cases. Doing so can reduce Chrome features' dependencies on ChromeActivity. Changes: * CPRService provides Context and WindowAndroid instead of ChromeActivity to methods when applicable. Bug: 1155788, 1140340, 1140344 Change-Id: Ib934dbbdba25bfc278ce13232d59ef3c4acf2131 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2577956 Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org> Reviewed-by:Rouslan Solomakhin <rouslan@chromium.org> Cr-Commit-Position: refs/heads/master@{#834987}
Showing
Please register or sign in to comment