Chromium Code Reviews| 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..4c42f5d7834c71320ae0212336a62c4cd9644bca 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 OnFullCardDetails(const CreditCard& card, |
|
Evan Stade
2016/08/26 22:26:01
nit: OnFooBar doesn't make much sense when FooBar
please use gerrit instead
2016/08/26 23:27:51
How about OnFullCardResponse or OnFullCardResponde
|
| + const base::string16& cvc) override; |
| + void OnFullCardError() override; |
| + |
| // Holds the FormData to be filled with a credit card. |
| std::unique_ptr<FormData> credit_card_form_data_; |