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 55a0eec3470cd716f20c7e8f2f1fa71965f58f74..6a982847e6745f5b91db1ba8314e996bd4d89524 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
@@ -287,6 +287,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; |