Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
index 94ee787e1079869006d6f8e849f47e9c4d03d62d..b662e2ddf24af7e7e06ee916e84c0274db594a78 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
@@ -291,6 +291,12 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate, |
AutocheckoutState autocheckout_state() const { return autocheckout_state_; } |
+ // Shows a new credit card saved bubble and passes ownership of |new_card| and |
+ // |billing_profile| to the bubble. Exposed for testing. |
+ virtual void ShowNewCreditCardBubble( |
+ scoped_ptr<CreditCard> new_card, |
+ scoped_ptr<AutofillProfile> billing_profile); |
+ |
private: |
// Whether or not the current request wants credit info back. |
bool RequestingCreditCardInfo() const; |