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

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

Issue 2794613002: Remove FullCardRequest's dependency on AutofillClient. (Closed)
Patch Set: Add risk_data_loader.h to BUILD. 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..1f73e02403058276de19b2338903a8f33caa8907 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();
@@ -85,7 +85,7 @@ class FullCardRequest : public CardUnmaskDelegate {
// Responsible for showing the UI that prompts the user for the CVC and/or the
Mathieu 2017/03/31 19:04:03 let's update this comment
// updated expiration date.
- AutofillClient* const autofill_client_;
+ RiskDataLoader* const risk_data_loader_;
// Responsible for unmasking a masked server card.
payments::PaymentsClient* const payments_client_;

Powered by Google App Engine
This is Rietveld 408576698