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

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

Issue 1058473002: Use the new Wallet risk data API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | components/autofill/core/browser/wallet/real_pan_wallet_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_CARD_UNMASK_DELEGATE_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_CARD_UNMASK_DELEGATE_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_CARD_UNMASK_DELEGATE_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_CARD_UNMASK_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 13 matching lines...) Expand all
24 base::string16 exp_month; 24 base::string16 exp_month;
25 25
26 // Four digit year. 26 // Four digit year.
27 base::string16 exp_year; 27 base::string16 exp_year;
28 28
29 // State of "copy to this device" checkbox. 29 // State of "copy to this device" checkbox.
30 bool should_store_pan; 30 bool should_store_pan;
31 31
32 // Risk fingerprint. 32 // Risk fingerprint.
33 std::string risk_data; 33 std::string risk_data;
34
35 // Whether we're providing the alternative "risk advisory data" in risk_data
36 // (as opposed to the normal browser fingerprint).
37 bool providing_risk_advisory_data = false;
Evan Stade 2015/05/20 22:43:05 oops, I didn't catch this before --- this is not t
Justin Donnelly 2015/05/20 23:03:35 Fixed in https://codereview.chromium.org/114812300
34 }; 38 };
35 39
36 // Called when the user has attempted a verification. Prompt is still 40 // Called when the user has attempted a verification. Prompt is still
37 // open at this point. 41 // open at this point.
38 virtual void OnUnmaskResponse(const UnmaskResponse& response) = 0; 42 virtual void OnUnmaskResponse(const UnmaskResponse& response) = 0;
39 43
40 // Called when the unmask prompt is closed (e.g., cancelled). 44 // Called when the unmask prompt is closed (e.g., cancelled).
41 virtual void OnUnmaskPromptClosed() = 0; 45 virtual void OnUnmaskPromptClosed() = 0;
42 }; 46 };
43 47
44 } // namespace autofill 48 } // namespace autofill
45 49
46 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_CARD_UNMASK_DELEGATE_H_ 50 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_CARD_UNMASK_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | components/autofill/core/browser/wallet/real_pan_wallet_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698