diff options
Diffstat (limited to 'chrome/browser/autofill/autofill_cc_infobar_delegate.cc')
-rw-r--r-- | chrome/browser/autofill/autofill_cc_infobar_delegate.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/browser/autofill/autofill_cc_infobar_delegate.cc b/chrome/browser/autofill/autofill_cc_infobar_delegate.cc index 342ca10..8ecc497 100644 --- a/chrome/browser/autofill/autofill_cc_infobar_delegate.cc +++ b/chrome/browser/autofill/autofill_cc_infobar_delegate.cc @@ -17,6 +17,17 @@ #include "ui/base/l10n/l10n_util.h" #include "ui/base/resource/resource_bundle.h" +// static +void AutofillCCInfoBarDelegate::Create( + InfoBarService* infobar_service, + const CreditCard* credit_card, + PersonalDataManager* personal_data, + const AutofillMetrics* metric_logger) { + infobar_service->AddInfoBar(scoped_ptr<InfoBarDelegate>( + new AutofillCCInfoBarDelegate(infobar_service, credit_card, personal_data, + metric_logger))); +} + AutofillCCInfoBarDelegate::AutofillCCInfoBarDelegate( InfoBarService* infobar_service, const CreditCard* credit_card, |