OLD | NEW |
---|---|
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 Loading... | |
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_ |
OLD | NEW |