Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(806)

Unified Diff: chrome/browser/autofill/autofill_cc_infobar_delegate.h

Issue 22694006: Infobar system refactor. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autofill/autofill_cc_infobar_delegate.h
===================================================================
--- chrome/browser/autofill/autofill_cc_infobar_delegate.h (revision 238220)
+++ 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 delegate and adds it to
- // |infobar_service|.
+ // Creates an autofill credit card infobar and delegate and adds the infobar
+ // to |infobar_service|.
static void Create(InfoBarService* infobar_service,
const AutofillMetrics* metric_logger,
const base::Closure& save_card_callback);
@@ -38,13 +38,12 @@
const AutofillMetrics* metric_logger,
const base::Closure& save_card_callback) {
return scoped_ptr<ConfirmInfoBarDelegate>(
- new AutofillCCInfoBarDelegate(NULL, metric_logger, save_card_callback));
+ new AutofillCCInfoBarDelegate(metric_logger, save_card_callback));
}
#endif
private:
- AutofillCCInfoBarDelegate(InfoBarService* infobar_service,
- const AutofillMetrics* metric_logger,
+ AutofillCCInfoBarDelegate(const AutofillMetrics* metric_logger,
const base::Closure& save_card_callback);
virtual ~AutofillCCInfoBarDelegate();
« no previous file with comments | « chrome/browser/autofill/autofill_browsertest.cc ('k') | chrome/browser/autofill/autofill_cc_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698