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

Side by Side Diff: components/autofill/core/browser/card_unmask_delegate.cc

Issue 1148123003: Specify the use of RiskAdvisoryData for Wallet unmask requests on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix initialization Created 5 years, 7 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 unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698