Index: components/autofill/core/browser/autofill_assistant.h |
diff --git a/components/autofill/core/browser/autofill_assistant.h b/components/autofill/core/browser/autofill_assistant.h |
index 1a15b4c778ea6f1f39946a73d1e7f2b0c4fcd8fe..d546601d60d92f18cad25fb5241278eddd87df0c 100644 |
--- a/components/autofill/core/browser/autofill_assistant.h |
+++ b/components/autofill/core/browser/autofill_assistant.h |
@@ -10,6 +10,7 @@ |
#include "base/macros.h" |
#include "base/memory/weak_ptr.h" |
+#include "components/autofill/core/browser/payments/full_card_request.h" |
#include "components/autofill/core/common/form_data.h" |
namespace autofill { |
@@ -20,7 +21,7 @@ class FormStructure; |
// This class encompasses the triggering rules and the logic for the autofill |
// assisted filling mechanisms. |
-class AutofillAssistant { |
+class AutofillAssistant : public payments::FullCardRequest::Delegate { |
public: |
explicit AutofillAssistant(AutofillManager* autofill_manager); |
~AutofillAssistant(); |
@@ -42,6 +43,11 @@ class AutofillAssistant { |
// Called by the infobar delegate when the user accepts the infobar. |
void OnUserDidAcceptCreditCardFill(const CreditCard& card); |
+ // payments::FullCardRequest::Delegate: |
+ void OnFullCardRequestSucceeded(const CreditCard& card, |
+ const base::string16& cvc) override; |
+ void OnFullCardRequestFailed() override; |
+ |
// Holds the FormData to be filled with a credit card. |
std::unique_ptr<FormData> credit_card_form_data_; |