| Index: components/autofill/core/browser/card_unmask_delegate.h
|
| diff --git a/components/autofill/core/browser/card_unmask_delegate.h b/components/autofill/core/browser/card_unmask_delegate.h
|
| index 0ce1a8758e84bc5b911dd734e13cb9f6b895bd4f..5cc664c7445bd931117e5236a013d405dc6ad846 100644
|
| --- a/components/autofill/core/browser/card_unmask_delegate.h
|
| +++ b/components/autofill/core/browser/card_unmask_delegate.h
|
| @@ -5,17 +5,30 @@
|
| #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_CARD_UNMASK_DELEGATE_H_
|
| #define COMPONENTS_AUTOFILL_CORE_BROWSER_CARD_UNMASK_DELEGATE_H_
|
|
|
| +#include <string>
|
| +
|
| #include "base/strings/string16.h"
|
|
|
| namespace autofill {
|
|
|
| class CardUnmaskDelegate {
|
| public:
|
| + struct UnmaskResponse {
|
| + UnmaskResponse();
|
| + ~UnmaskResponse();
|
| +
|
| + // User input data.
|
| + base::string16 cvc;
|
| + base::string16 exp_month;
|
| + base::string16 exp_year;
|
| +
|
| + // Risk fingerprint.
|
| + std::string risk_data;
|
| + };
|
| +
|
| // Called when the user has attempted a verification. Prompt is still
|
| // open at this point.
|
| - virtual void OnUnmaskResponse(const base::string16& cvc,
|
| - const base::string16& exp_month,
|
| - const base::string16& exp_year) = 0;
|
| + virtual void OnUnmaskResponse(const UnmaskResponse& response) = 0;
|
|
|
| // Called when the unmask prompt is closed (e.g., cancelled).
|
| virtual void OnUnmaskPromptClosed() = 0;
|
|
|