Index: trunk/src/chrome/browser/autofill/autofill_cc_infobar_delegate.h |
=================================================================== |
--- trunk/src/chrome/browser/autofill/autofill_cc_infobar_delegate.h (revision 238400) |
+++ trunk/src/chrome/browser/autofill/autofill_cc_infobar_delegate.h (working copy) |
@@ -27,8 +27,8 @@ |
// card information gathered from a form submission. |
class AutofillCCInfoBarDelegate : public ConfirmInfoBarDelegate { |
public: |
- // Creates an autofill credit card infobar and delegate and adds the infobar |
- // to |infobar_service|. |
+ // Creates an autofill credit card infobar delegate and adds it to |
+ // |infobar_service|. |
static void Create(InfoBarService* infobar_service, |
const AutofillMetrics* metric_logger, |
const base::Closure& save_card_callback); |
@@ -38,12 +38,13 @@ |
const AutofillMetrics* metric_logger, |
const base::Closure& save_card_callback) { |
return scoped_ptr<ConfirmInfoBarDelegate>( |
- new AutofillCCInfoBarDelegate(metric_logger, save_card_callback)); |
+ new AutofillCCInfoBarDelegate(NULL, metric_logger, save_card_callback)); |
} |
#endif |
private: |
- AutofillCCInfoBarDelegate(const AutofillMetrics* metric_logger, |
+ AutofillCCInfoBarDelegate(InfoBarService* infobar_service, |
+ const AutofillMetrics* metric_logger, |
const base::Closure& save_card_callback); |
virtual ~AutofillCCInfoBarDelegate(); |