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 cac7e46d9b69d06f75fea92229e44f82661ce330..e24215ea086cf9f95edcab1955572ff31e32841b 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
@@ -294,6 +294,12 @@ class AutofillDialogControllerImpl : public AutofillDialogController, |
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; |