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

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

Issue 102163002: Revert 238283 "Infobar system refactor." (Closed) Base URL: svn://svn.chromium.org/chrome/
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: 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();

Powered by Google App Engine
This is Rietveld 408576698