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 16 matching lines...) Expand all Loading... | |
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 | 34 |
35 // Whether we're providing the alternative "risk advisory data" in risk_data | 35 // Whether we're providing the alternative "risk advisory data" in risk_data |
36 // (as opposed to the normal browser fingerprint). | 36 // (as opposed to the normal browser fingerprint). |
37 bool providing_risk_advisory_data = false; | 37 bool providing_risk_advisory_data; |
Evan Stade
2015/05/20 23:30:34
const bool?
Justin Donnelly
2015/05/21 00:29:51
Adding const produces the following compile error:
| |
38 }; | 38 }; |
39 | 39 |
40 // Called when the user has attempted a verification. Prompt is still | 40 // Called when the user has attempted a verification. Prompt is still |
41 // open at this point. | 41 // open at this point. |
42 virtual void OnUnmaskResponse(const UnmaskResponse& response) = 0; | 42 virtual void OnUnmaskResponse(const UnmaskResponse& response) = 0; |
43 | 43 |
44 // Called when the unmask prompt is closed (e.g., cancelled). | 44 // Called when the unmask prompt is closed (e.g., cancelled). |
45 virtual void OnUnmaskPromptClosed() = 0; | 45 virtual void OnUnmaskPromptClosed() = 0; |
46 }; | 46 }; |
47 | 47 |
48 } // namespace autofill | 48 } // namespace autofill |
49 | 49 |
50 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_CARD_UNMASK_DELEGATE_H_ | 50 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_CARD_UNMASK_DELEGATE_H_ |
OLD | NEW |