OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/autofill/core/browser/card_unmask_delegate.h" | 5 #include "components/autofill/core/browser/card_unmask_delegate.h" |
6 | 6 |
7 namespace autofill { | 7 namespace autofill { |
8 | 8 |
9 CardUnmaskDelegate::UnmaskResponse::UnmaskResponse() | 9 CardUnmaskDelegate::UnmaskResponse::UnmaskResponse() |
10 : should_store_pan(false) {} | 10 : should_store_pan(false), |
| 11 providing_risk_advisory_data(false) { |
| 12 #if defined(OS_IOS) |
| 13 // On iOS, we generate a RiskAdvisoryData instead of the |
| 14 // BrowserNativeFingerprinting produced on other platforms. This field |
| 15 // directs the Wallet client to configure the request accordingly. |
| 16 providing_risk_advisory_data = true; |
| 17 #endif |
| 18 } |
| 19 |
11 CardUnmaskDelegate::UnmaskResponse::~UnmaskResponse() {} | 20 CardUnmaskDelegate::UnmaskResponse::~UnmaskResponse() {} |
12 | 21 |
13 } // namespace autofill | 22 } // namespace autofill |
OLD | NEW |