Index: components/autofill/core/browser/card_unmask_delegate.cc |
diff --git a/components/autofill/core/browser/card_unmask_delegate.cc b/components/autofill/core/browser/card_unmask_delegate.cc |
index 00a8c59b175a153a756cb9bbea1d432a68f0eb7f..709acc12e5db739cdfc020ce7e22f099db8784c8 100644 |
--- a/components/autofill/core/browser/card_unmask_delegate.cc |
+++ b/components/autofill/core/browser/card_unmask_delegate.cc |
@@ -7,7 +7,16 @@ |
namespace autofill { |
CardUnmaskDelegate::UnmaskResponse::UnmaskResponse() |
- : should_store_pan(false) {} |
+ : should_store_pan(false), |
+ providing_risk_advisory_data(false) { |
+#if defined(OS_IOS) |
+ // On iOS, we generate a RiskAdvisoryData instead of the |
+ // BrowserNativeFingerprinting produced on other platforms. This field |
+ // directs the Wallet client to configure the request accordingly. |
+ providing_risk_advisory_data = true; |
+#endif |
+} |
+ |
CardUnmaskDelegate::UnmaskResponse::~UnmaskResponse() {} |
} // namespace autofill |