Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(499)

Unified Diff: components/autofill/core/browser/payments/full_card_request.h

Issue 2794613002: Remove FullCardRequest's dependency on AutofillClient. (Closed)
Patch Set: Address comments. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/payments/full_card_request.h
diff --git a/components/autofill/core/browser/payments/full_card_request.h b/components/autofill/core/browser/payments/full_card_request.h
index 263b3c88fe721f68a6352ad2311218e20840e68a..9db61fd5ad36fb926740d24770a4b3f8d24e8815 100644
--- a/components/autofill/core/browser/payments/full_card_request.h
+++ b/components/autofill/core/browser/payments/full_card_request.h
@@ -48,7 +48,7 @@ class FullCardRequest : public CardUnmaskDelegate {
};
// The parameters should outlive the FullCardRequest.
- FullCardRequest(AutofillClient* autofill_client,
+ FullCardRequest(RiskDataLoader* risk_data_loader,
payments::PaymentsClient* payments_client,
PersonalDataManager* personal_data_manager);
~FullCardRequest();
@@ -83,9 +83,8 @@ class FullCardRequest : public CardUnmaskDelegate {
// Resets the state of the request.
void Reset();
- // Responsible for showing the UI that prompts the user for the CVC and/or the
- // updated expiration date.
- AutofillClient* const autofill_client_;
+ // Used to fetch risk data for this request.
+ RiskDataLoader* const risk_data_loader_;
// Responsible for unmasking a masked server card.
payments::PaymentsClient* const payments_client_;
« no previous file with comments | « components/autofill/core/browser/autofill_client.h ('k') | components/autofill/core/browser/payments/full_card_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698