OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_AUTOFILL_CREDIT_CARD_FILLING_INFOBAR_DE
LEGATE_MOBILE_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CREDIT_CARD_FILLING_INFOBAR_DE
LEGATE_MOBILE_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CREDIT_CARD_FILLING_INFOBAR_DE
LEGATE_MOBILE_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CREDIT_CARD_FILLING_INFOBAR_DE
LEGATE_MOBILE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "components/autofill/core/browser/autofill_metrics.h" | 13 #include "components/autofill/core/browser/autofill_metrics.h" |
14 #include "components/infobars/core/confirm_infobar_delegate.h" | 14 #include "components/infobars/core/confirm_infobar_delegate.h" |
15 | 15 |
16 namespace infobars { | |
17 class InfoBarManager; | |
18 } | |
19 | |
20 namespace autofill { | 16 namespace autofill { |
21 | 17 |
22 class CreditCard; | 18 class CreditCard; |
23 | 19 |
24 // An InfoBarDelegate that enables the user to allow or deny filling credit | 20 // An InfoBarDelegate that enables the user to allow or deny filling credit |
25 // card information on a website form. Only used on mobile. | 21 // card information on a website form. Only used on mobile. |
26 class AutofillCreditCardFillingInfoBarDelegateMobile | 22 class AutofillCreditCardFillingInfoBarDelegateMobile |
27 : public ConfirmInfoBarDelegate { | 23 : public ConfirmInfoBarDelegate { |
28 public: | 24 public: |
29 AutofillCreditCardFillingInfoBarDelegateMobile( | 25 AutofillCreditCardFillingInfoBarDelegateMobile( |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 62 |
67 base::string16 card_label_; | 63 base::string16 card_label_; |
68 base::string16 card_sub_label_; | 64 base::string16 card_sub_label_; |
69 | 65 |
70 DISALLOW_COPY_AND_ASSIGN(AutofillCreditCardFillingInfoBarDelegateMobile); | 66 DISALLOW_COPY_AND_ASSIGN(AutofillCreditCardFillingInfoBarDelegateMobile); |
71 }; | 67 }; |
72 | 68 |
73 } // namespace autofill | 69 } // namespace autofill |
74 | 70 |
75 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CREDIT_CARD_FILLING_INFOBAR
_DELEGATE_MOBILE_H_ | 71 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CREDIT_CARD_FILLING_INFOBAR
_DELEGATE_MOBILE_H_ |
OLD | NEW |